View Full Version : java $#$# java
da one
04-21-2007, 10:07 PM
my %^%$ computer say when im tring to compile .java file
javac is not recognisebal as internal or external command.......
ive installed jdk 6
is there a specific path to install jdk
im new 1 for this $#$$ java
help
mlakmal
04-21-2007, 10:10 PM
u can specify javac.exe path in windows environment variables for PATH
da one
04-21-2007, 10:18 PM
u can specify javac.exe path in windows environment variables for PATH
karekawala athariya wage mata mokuthma therune na
mama subject 1 ta aluth
can u plz tell in more detail
anyway thanks a lot
mlakmal
04-21-2007, 10:22 PM
karekawala athariya wage mata mokuthma therune na
mama subject 1 ta aluth
can u plz tell in more detail
anyway thanks a lot
mach man danata lesi kramayak kiyannan
umbe .java file eka javac.exe eka thiyana folder ekatama daala
command promt eken ethanata gihin "javac file.java" gahala compile kara ganna
may b 2mrw amila will help u on dis
lakmal
04-21-2007, 10:23 PM
my %^%$ computer say when im tring to compile .java file
javac is not recognisebal as internal or external command.......
ive installed jdk 6
is there a specific path to install jdk
im new 1 for this $#$$ java
help
:growl: :growl:
lakmal
04-21-2007, 10:26 PM
mach man danata lesi kramayak kiyannan
umbe .java file eka javac.exe eka thiyana folder ekatama daala
command promt eken ethanata gihin "javac file.java" gahala compile kara ganna
may b 2mrw amila will help u on dis]
:lol: :lol:
karekawala athariya wage mata mokuthma therune na
mama subject 1 ta aluth
can u plz tell in more detail
anyway thanks a lot
right click on my computer icon-->properties-->advanced tab-->environment vaiables-->system varaibles-->path--->
add the path to the "bin" folder to the end of the variable value field.
(C:\Program Files\Java\jre1.6.0\bin ) oya vage path eka
thats all................
:yes:
da one
04-21-2007, 10:34 PM
mach man danata lesi kramayak kiyannan
umbe .java file eka javac.exe eka thiyana folder ekatama daala
command promt eken ethanata gihin "javac file.java" gahala compile kara ganna
may b 2mrw amila will help u on dis
a krame hari mama try kara
thnx
da one
04-21-2007, 10:40 PM
right click on my computer icon-->properties-->advanced tab-->environment vaiables-->system varaibles-->path--->
add the path to the "bin" folder to the end of the variable value field.
(C:\Program Files\Java\jre1.6.0\bin ) oya vage path eka
thats all................
:yes:
ill try
da one
04-22-2007, 12:57 AM
thnks every 1 who cares about this
ive solved the problem
this is java s installation note extract for people who care abot that
4. Update the PATH variable (Optional)
You can run the JDK without setting the PATH variable, or you can optionally set it as a convenience.
Should I set the PATH variable?
Set the PATH variable if you want to be able to conveniently run the JDK executables (javac.exe, java.exe, javadoc.exe, etc.) from any directory without having to type the full path of the command. If you don't set the PATH variable, you need to specify the full path to the executable every time you run it, such as:
C:> "\Program Files\Java\jdk1.6.0_<version>\bin\javac" MyClass.java
It's useful to set the PATH permanently so it will persist after rebooting.
How do I set the PATH permanently?
To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the PATH variable. Typically this full path looks something like C:\Program Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on Microsoft Windows:
Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel > System on Windows 2000.
Click Advanced > Environment Variables.
Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
C:\Program Files\Java\jdk1.6.0_<version>\bin
PATH environment variable is a series of directories separated by semi-colons (;) and is not case sensitive. Microsoft Windows looks for programs in the PATH directories in order, from left to right.
You should only have one bin directory for a JDK in the path at a time. Those following the first instance are ignored. If one is already present, update it to jdk1.6.0_<version>\bin.
If you are not sure where to add the path, add it to the right end of the PATH in the User Variables.
The new path takes effect in each new command window you open after setting the PATH variable.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.