Set your CLASSPATH to the path of the jt400.jar file and not the name of the file itself and then try it.
On Tue, Dec 1, 2009 at 5:26 PM, Dr. Martin Mundschenk < m.mundsch...@mundschenk.de> wrote: > Hi! > > I'm moving from OSX Server to an OpenSolaris box. There are some java > services to install and it's driving me nuts... The are some jar-Files that > call classes from the jar file jt400.jar. I always get: > > Exception in thread "main" java.lang.NoClassDefFoundError: jt400/jar > Caused by: java.lang.ClassNotFoundException: jt400.jar > [...] > > I tried: > > 1) > export CLASSPATH=jt400.jar > java -jar SFR.jar > > 2) > java -cp jt400.jar -jar SFR.jar > > on OSX all I have to do is move the libraries into /Library/Java/Extensions > and all works fine. Is there a similar directory in OpenSolaris? > > > Regards, > Martin > > _______________________________________________ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org >
_______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org