Question:
recently i installed jdk1.3 compiler in c-drive but don't know how to make path for my first prog. please help
rajat j
2007-07-25 10:46:12 UTC
today i installed jdk1.3 compiler but i don't know the path how to reach the text editing window . i don't know the way to change the setting of my computer . if you can please help me out . or if you have other solution to this problem help me please.
Four answers:
Neeraj Yadav♄
2007-07-25 10:56:35 UTC
AUTOEXEC.BAT on the PC through the lines:

PATH=C:\Java\bin;%PATH%



SET CLASSPATH=.;C:\JAVA\LIB

SET HOMEDRIVE=C:

SET HOMEPATH=\JAVA

SET JAVA_HOME=C:\JAVA

After you have done that (or changed the path stuff for wherever you decided to put the JDK), you can move on.





OR



Do it by setting path manualy

1)Right click on MYCOMPUTER

2)Properties

3)Advanced

4)Enviroment variable



set your

Varaible name Classpath

variable path ;C:\JAVA\LIB (just add addit after any already taken path)



Variable name JAVA_HOME

Path C:\JAVA





Note:: *JAVA here Can be like jsdk1.3 folder on C drive or any version.



hope this will solve your issues

Cheers:)
?
2016-11-10 12:15:51 UTC
you won't be able to pass incorrect with GCC. despite if that's employing Cygwin (which i do no longer propose for motives i'm going to state later), Dev-Cpp (a solid IDE), and MinGW you would be employing the Gnu Compiler (GCC). in case you're new to C and programming many times, i might recommend employing an IDE like Dev-Cpp to write your source and for some large reward of an IDE like syntax highlighting. i might recommend so which you would be able to no longer convey at the same time your source interior the IDE, however. the suitable thank you to study what you're doing is by skill of compiling from the command-line. For this to artwork effectively, you will possibly desire to place 'C:Dev-Cppbin' on your structures course. Btw, i do no longer use Cygwin anymore simply by fact any binaries you convey at the same time with it inherently falls below the GPL. I have not have been given any issue with the GPL yet there are different license subject concerns that would arise from this restrict; incredibly i might desire to launch some kit below a BSD form license. to keep away from license subject concerns which you will no longer understand in simple terms yet, in simple terms steer sparkling of Cygwin. edit: With 'c:dev-cppbin' on your course you will get carry of the MinGW compiler and application from that command-line isntead of employing MS's command-line. It delivers a effective little Unix experience for issues.
hit
2007-07-25 11:00:50 UTC
1.right click on my computers

2.go to properties>advanced>environment variables

3.click on new and paste the address of the jdk till bin

eg C:\program files\java\jdk1.3\bin\
anonymous
2007-07-25 11:08:57 UTC
Please refer to



HEADING "How do I set the PATH permanently? " at this page



http://java.sun.com/products/archive/j2se/1.3.1_16/install-windows.html#Environment


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...