Results 1 to 3 of 3

Thread: I hate configuring the JDK

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843

    I hate configuring the JDK

    YES I DO. It is the beggining and hardest wierdest part of learning Java.

    I have been learning Java for 2 months. And since the begginig I configured the CLASSPATH and PATH enviroment variables. The command javac did work. The command java ****.class never worked. I didnt mind since I use JCreator and it saves you from that.

    But now... I am learning RMI. And I CANT MAKE WORK THE COMMAND RMIC ****.class. It sends me the most famous error in the java programing world : class not found.

    My rmi .class file are in c:\rmi\. These are my vars:

    1.CLASSPATH= C:\jdk1.3.1_01\lib\tools.jar;c:\rmi\
    2. PATH=C:\Clarion5\Bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\jdk1.3.1_01\bi n\

    I am using win2000. So... help!!! P L E A S E !!! S O S!
    "The difference between mad and genius is the success"

  2. #2
    Addicted Member Mrs Kensington's Avatar
    Join Date
    Sep 2001
    Location
    Dorset, UK
    Posts
    144
    When you use the javac command you use the whole filename so its...
    Code:
    javac HelloWorld.java
    but when you use the java command (for some stupid reason) you leave off the .class part so its...
    Code:
    java HelloWorld
    Ford? Theres an infinite number of monkeys outside that want to talk to you about a script of hamlet they've produced!

  3. #3
    Addicted Member Mrs Kensington's Avatar
    Join Date
    Sep 2001
    Location
    Dorset, UK
    Posts
    144
    oops forgot to conclude!

    i'm assuming its the same with the rmic command
    Ford? Theres an infinite number of monkeys outside that want to talk to you about a script of hamlet they've produced!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width