× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
All,

I've searched the archives and the usual places on the Internet, but can't find 
a solution to this problem. I'm hoping someone here will have some thoughts.

I have a VA Java application that runs fine on a Windows 2000 workstation, but 
when I copy it to the AS/400 I can't get it to run. It appears to be a missing 
class in the rt.jar file? I'm not getting into my code. When I run Java with 
*verbose turned on here is what I see at the end:

(lots snipped before this):

Loading class java/io/FilePermission$1.class from 
/QIBM/ProdData/OS400/Java400/jdk/lib/rt.jar
Loading class java/security/BasicPermissionCollection.class from 
/QIBM/ProdData/OS400/Java400/jdk/lib/rt.jar
java.lang.NoClassDefFoundError
      
java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+29
 (ClassLoader.jav
a:474)
      
java/net/URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+176
 (URLClassLoader.java:293)
      java/net/URLClassLoader$1.run()Ljava/lang/Object;+42 
(URLClassLoader.java:218)
      java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13 
(URLClassLoader.java:212)
      java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+39 
(ClassLoader.java:295)
      
sun/misc/Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+33
 (Launcher.java:275)
      
java/lang/ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+1 
(ClassLoader.java:311)
Java program completed with exit code 1

I have the jt400Native.jar in the CLASSPATH, and other classes in rt.jar are 
found. This is V5R1.

Any thoughts would be most appreciated.
Patrick


--



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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.