Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Gl4java Installation problem

  • 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, Registered Users 2 Posts: 4,119 ✭✭✭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, Registered Users 2 Posts: 4,119 ✭✭✭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