CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Threaded View

  1. #6
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Javac not working

    Well all you have to do is set the PATH and the CLASSPATH environment variables in the advanced system properties tab.

    You can also do this with a batch file:
    Code:
    SET CLASSPATHPATH=C:\Program Files\jdk1.6.0_03\bin\;C:\Program Files\jdk1.6.0_03\lib\;C:\Program Files\jdk1.6.0_03\;
    SET PATH=C:\Program Files\jdk1.6.0_03\bin\;C:\Program Files\jdk1.6.0_03\lib\;c:\windows\;
    Honestly setting the CLASSPATH is not that hard, it will contain the .jar files you need to compile your program.

    The PATH variable will have javac.exe and java.exe in them. If your a dev it will definitely help to know basic stuff like that.
    Last edited by ahoodin; April 23rd, 2008 at 06:22 AM.
    ahoodin
    To keep the plot moving, that's why.

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

Featured