From: Jack S. <ja...@ji...> - 2002-10-01 02:35:19
|
This error message/scenario sounds familiar. I was trying to install gl4java on a WinXP/JRE1.3.1/IE6 test machine, and was getting the same exception. (Install went fine on Win2K and MacOSX) Here's the sequence of events and errors I went through as I tried to install gl4java on WinXP: 1. Tried to install via the "Automatic Installation (download the Installer)" link. When I tried to run the "install.bat", either via double-clicking, or via the command prompt it wouldn't run. Via the command prompt, I would see this error: C:\Downloads\GL4JavaInstall\gl4java- INSTALLER\GL4Java\Installer>install.bat Files\JavaSoft\JRE\1.3.1_04\lib\ext\QTJava.zip"" was unexpected at this time. 2. Next I turned off the Java2 plug-in modified the java.policy file, and tried the web installer. In the installer, the "native libs" directory path was not set, so I had to navigate to locate it. It finished the installation, and said everything was installed properly. I tested it on a demo applet and received the Exception:java.lang.NoClassDefFoundError: gl4java/awt/GLAnimCanvas1 error. I did a search for the gl4java.jar, png.jar, etc. and for whatever reason, they weren't installed. 3. After several retry's, I decided to do the manual binaries install.....this works fine. Thought I should pass it on.... Jack On Monday, September 23, 2002, at 01:33 PM, Max Gilead wrote: > Soh Chee Weng,Bryan wrote: > >> sorry if i'm repeating a question that has been asked previously. >> i'm prompted with this error >> Exception:java.lang.NoClassDefFoundError: gl4java/awt/GLAnimCanvas >> >> tried installing whatever i could get my hands on but its still >> there. could anyone advise me about the matter. > As you probably know it means that your application can't find class > mentioned above. You can correct this by adding gl4java.jar to the > CLASSPATH, putting GL4Java .class files to some directory which is > already in classpath or putting gl4java.jar into JDK's jre/lib/ext > directory. For compiler to find it you need to put it into CLASSPATH. > > If you have any further problems please be more specific on what is > your CLASSPATH (ie. what is the output of 'set' without arguments), > what your starting script contains and where GL4Java files are. > > HTH, > Max > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup |