I tried to convert the jt400.jar file, but I received these errors... Is
this OK?  Or did I miss something obvious?

When I tried to add additional jar files, I kept getting duplicate
classes...

Thanks, Tim


C:\ikvm\ikvm-0.28.0.0\bin>ikvmc -target:library jt400.jar
Note: output file is "jt400.dll"
Note: automatically adding reference to
"c:\ikvm\ikvm-0.28.0.0\bin\ikvm.gnu.clas
spath.dll"
Warning: class "com.ibm.sslight.SSLContext" not found
Warning: class "com.ibm.sslight.SSLightKeyRing" not found
Warning: class "com.ibm.sslight.SSLSocket" not found
Warning: class "com.ibm.sslight.SSLCert" not found
Warning: class "com.ibm.sslight.SSLGenSock" not found
Warning: class "com.ibm.as400.access.AS400ImplNative" not found
Warning: class "sun.misc.MessageUtils" not found
Warning: class "com.ibm.as400.access.UnixSocketUser" not found
Warning: class "com.ibm.as400.ui.framework.java.TabbedPaneManager" not found
Warning: class "com.ibm.as400.ui.framework.java.PanelManager" not found
Warning: class "com.ibm.as400.vaccess.AS400JDBCDataSourcePaneDataBean" not
found

Warning: class "com.ibm.as400.ui.framework.java.DataBean" not found
Warning: class "com.ibm.as400.ui.framework.java.DisplayManagerException" not
fou
nd
Warning: class "com.ibm.as400.ui.framework.java.PaneManager" not found
Warning: class "com.ibm.as400.ui.framework.java.ChoiceDescriptor" not found
Warning: class "com.ibm.as400.ui.framework.java.AbstractDescriptor" not
found
Warning: class "com.ibm.as400.ui.framework.ResourceLoader" not found
Warning: class "com.ibm.as400.ui.framework.java.IllegalUserDataException"
not fo
und
Warning: class "com.ibm.as400.access.NLSImplNative" not found
Warning: class "com.ibm.cfwk.pki.X509Cert" not found
Warning: class "com.ibm.gsk.ikeyman.basic.KeyDatabase" not found
Warning: class "com.ibm.gsk.ikeyman.basic.KeyItem" not found
Warning: class "com.ibm.gsk.ikeyman.basic.SSLightKeyDatabase" not found
Warning: class "com.ibm.gsk.ikeyman.basic.SSLightKeyDatabaseException" not
found

Warning: class "com.ibm.sslight.KeyStore" not found
Warning: class "com.ibm.sslight.tools.GrabCert" not found
Warning: class "com.ibm.sslight.SSLException" not found
Warning: unable to compile class "com.ibm.as400.access.TunnelProxyServer"
    (missing class "javax.servlet.http.HttpServlet")
Warning: unable to compile class "com.ibm.as400.access.KeyRing"
    (missing class "com.ibm.sslight.SSLightKeyRing")
Warning: class "com.ibm.sslight.SSLServerSocket" not found

C:\ikvm\ikvm-0.28.0.0\bin>

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Mark Phippard
Sent: Saturday, May 27, 2006 10:14 AM
To: Java Programming on and around the iSeries / AS400
Subject: RE: IKVM -- jtopen

I went ahead and took the plunge and tried it.  I converted JT400, and I 
then committed the JAR file that contains the API for our product.  I 
converted both of these to DLL's.  I then took some unit tests I had 
written in Java for our API and converted those to an EXE.

It all worked.  PCML, JDBC, everything.  The XML parsers and other Java 
classes are included in the IKVM runtime DLL.

So now I can use our API in VB.NET and C#.  I installed the Express 
version and tried it out.  All worked great.  It was easy to build a 
simple screen and pull in data.

I am still not sure if/how I will use this, but it is great to have, 
especially being able to leverage all of the existing and tested API for 
our product.  I could potentially see using this for smallish projects 
where there is some other API I want to use that only exists for Windows 
and does not have a good java equivalent.

Thanks

Mark

java400-l-bounces@xxxxxxxxxxxx wrote on 05/27/2006 12:04:28 AM:

We haven't used any PCML, but I imagine you would need to compile any 
dependency Jar files and include them in your .Net project. 

What's cool is the object model of the compiled Jar file matches the 
Java 
equivalent. 


____________________________________________________________________________
_
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM
Email Security Management Services powered by MessageLabs. 
____________________________________________________________________________
_

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.