Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Gl4java Installation problem

Options
  • 17-11-2003 10:52pm
    #1
    Closed Accounts Posts: 222 ✭✭


    ok ... here is the situation...

    j2sdk1.4.2_02 is installed and located at c:\j2skd1.4.2_02
    also there is c:\Gl4java and c:\Program Files\Gl4java ... just incase!

    jvm should be at c:\Program Files\Java\j2re1.4.2_01

    The .dll files are as such:

    c:\j2sdk1.4.2_02\Bin and c:\java\j2re1.4.2_01\bin
    c:\j2sdk1.4.2._2\Lib\Ext also contains the .jar files....

    the Gl classes still can't be found when I compile...

    what .. what ..... WHAT am I missing???

    please tell me I am doing something stupid and how I can fix this!

    Cheers.


Comments

  • Closed Accounts Posts: 222 ✭✭The Second


    path=c:\windows;c:\windows\command;c:\j2sdk1.4.2_02\bin

    classpath=c:\java;.;

    and I've tried ... classpath=c:\progra~1\Gl4java


  • Registered Users Posts: 4,185 ✭✭✭deadl0ck


    You have to add the specific jar files to the classpath, not just the directory they're in

    For example if you need x.jar to compile test.java you should have:

    javac -classpath [full path]/x.jar test.java


  • Closed Accounts Posts: 222 ✭✭The Second


    javac -classpath [full path]/x.jar test.java

    what if I need a few .jar files?


  • Registered Users Posts: 4,185 ✭✭✭deadl0ck


    Just put semi-colons netween them

    For example:

    javac -classpath x.jar;y.jar;z.jar test.java

    But be sure to use the full path of the jar files


Advertisement