Results 1 to 4 of 4

Thread: Set classPath?

  1. #1
    rgbosque is offline Member
    Join Date
    Nov 2007
    Posts
    16
    Rep Power
    0

    Default Set classPath?

    hi guys,

    i have a question bout how to set a classPath?

    right now im not using IDE for my coding, i use notepad from windows the reason for this is i want to familiarize the basic and syntax of JAVA.

    every time i compile my .java file i always find the BIN folder for javac? how can i set classPath so that i can directly compile my .java file.

    if ever can you teach also some settings should be done first before coding.

    Thanks in advance Guys...

    Rodel
    Its JAVA Time...:p

  2. #2
    tim's Avatar
    tim
    tim is offline Senior Member
    Join Date
    Dec 2007
    Posts
    435
    Rep Power
    7

    Default See thread

    Hello rgbosque.

    I helped someone with this before. This thread explains it all with Windows command line with two examples.

    I hope this helps. :D
    Eyes dwelling into the past are blind to what lies in the future. Step carefully.

  3. #3
    Cnu
    Cnu is offline Member
    Join Date
    Feb 2008
    Posts
    13
    Rep Power
    0

    Default

    right click on mycomuter->properties->Advanced->Environment variables->new
    path
    set value to c:\jdk1.5\lib\tools.jar;
    set classpath to %path%

    and go to command prompt

    enter java
    or
    javac

  4. #4
    rgbosque is offline Member
    Join Date
    Nov 2007
    Posts
    16
    Rep Power
    0

    Default

    thanks guys... it can help me studying java fast right now

    keep in touch...
    Its JAVA Time...:p

Similar Threads

  1. Replies: 3
    Last Post: 08-14-2009, 12:57 PM
  2. GNU Classpath 0.96.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 11-01-2007, 04:14 PM
  3. GNU Classpath 0.96
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 10-16-2007, 06:35 PM
  4. Doubt with classpath
    By fred in forum New To Java
    Replies: 1
    Last Post: 07-24-2007, 01:58 AM
  5. Adding JARs to the classpath at runtime?
    By johann_p in forum Advanced Java
    Replies: 1
    Last Post: 06-26-2007, 10:42 PM

Posting Permissions

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