atsu
asked on
Cannot compile java application in Windows XP
I have windowsXP, In PATH I included the path where I have javac. But I cannot compile my java application (jdk1.2.2). e.g. <javac Test.java>. This riased a windowsXP dialog box that cannot run javac.
May someone can help me?
Thanks in advance
May someone can help me?
Thanks in advance
ASKER
No. In DOS with full path also doesn't work. Some times java classname also doesn't work. i.e.
C:\java\java test
But with some applications works. I downloaded also JRE free addition for java.
I am also trying but if anyother idea. please.
THANKS
C:\java\java test
But with some applications works. I downloaded also JRE free addition for java.
I am also trying but if anyother idea. please.
THANKS
i would suggest to download a java IDE. I use JCreator (it's free). Then you won't have to compile in dos and it's a pretty good editor too! I have xp as well and have no problems.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hell Umargul,
I did the same as you wrote, but still javac not working ans some time java also. I am using JDK1.2.2.
If you have any other idea?
I shall write you later what I wrote in PATH.
I did the same as you wrote, but still javac not working ans some time java also. I am using JDK1.2.2.
If you have any other idea?
I shall write you later what I wrote in PATH.
Hello Umargul,
I did the same as you wrote, but still javac not working ans some time java also. I am using JDK1.2.2.
If you have any other idea?
I shall write you later what I wrote in PATH.
I did the same as you wrote, but still javac not working ans some time java also. I am using JDK1.2.2.
If you have any other idea?
I shall write you later what I wrote in PATH.
hello Bhatti
Then the other thing you can do is to download the jre for Windows XP from the java.sun.com site. Then try the C:\java commad.
Then the other thing you can do is to download the jre for Windows XP from the java.sun.com site. Then try the C:\java commad.
ASKER
I downloaded the jre for WindowsXP, but that action did not solve the problem.
I can run the classes with java command as "java Test" but
javac Test.java is not working.
I can run the classes with java command as "java Test" but
javac Test.java is not working.
Dear atsu
then the only problem you can have is that ur class path is wrong. so see it again.
then the only problem you can have is that ur class path is wrong. so see it again.
This question appears to have been abandoned. A Moderator will be asked to
close this question after seven days, with the following recommended
disposition:
Points to umargul
If you have any comment or objection to the recommendation, please leave it here.
Please do NOT accept this comment as an answer. Thank You!
guidway :0)
EE Cleanup Volunteer
close this question after seven days, with the following recommended
disposition:
Points to umargul
If you have any comment or objection to the recommendation, please leave it here.
Please do NOT accept this comment as an answer. Thank You!
guidway :0)
EE Cleanup Volunteer
per recommendation
SpideyMod
Community Support Moderator @Experts Exchange
SpideyMod
Community Support Moderator @Experts Exchange
c:\MyJavacDir\javac Test.java