M
MS
Hi,
When running my app from within NetBeans it works perfectly but when I
start the dist jar version (all up to date) I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: FilmGUI/jar
'java' is in the classpath and the same thing happens regardless of
whether I use the jre or jdk version of java.exe (OS: Win 2000 Pro, JDK
1.5.0.01, JRE 1.5.0.01, NetBeans 4.0).
Strangely if I run the dist jar file from the command line I get the error
specified but I also have a shortcut on my desktop to the jar file in
question and if I launch that with a double-click it runs with all the
functionality working ok except it doesn't 'externally launch my default
browser with a specific URL'. My project compiling sources has Browser.jar
added to it which contains Neosoft's Browser class (which will launch the
system default browser with an URL). Could the Browser class be somehow
not making it into the dist and then causing the error?
Thanks,
MS
When running my app from within NetBeans it works perfectly but when I
start the dist jar version (all up to date) I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: FilmGUI/jar
'java' is in the classpath and the same thing happens regardless of
whether I use the jre or jdk version of java.exe (OS: Win 2000 Pro, JDK
1.5.0.01, JRE 1.5.0.01, NetBeans 4.0).
Strangely if I run the dist jar file from the command line I get the error
specified but I also have a shortcut on my desktop to the jar file in
question and if I launch that with a double-click it runs with all the
functionality working ok except it doesn't 'externally launch my default
browser with a specific URL'. My project compiling sources has Browser.jar
added to it which contains Neosoft's Browser class (which will launch the
system default browser with an URL). Could the Browser class be somehow
not making it into the dist and then causing the error?
Thanks,
MS