|
-
Dec 26th, 2006, 05:07 PM
#1
Thread Starter
Frenzied Member
installation of JDK-6 does not allow me to do javac from the command line
Hello
I installed jdk-6 ( Java SE Development Kit and NetBeans IDE Cobundle (JDK 6 / NB 5.5) Final Release) from the
sun site
onto my laptop. and tried to compile a java class using the following command line
Javac Server.java
i get the error message
"'javac' is not recognised as an internal or external command, operable program or batch file."
does not the installation of netbeans IDE 5.5 mean that i can using java at the command line?
Last edited by vb_student; Dec 26th, 2006 at 05:53 PM.
-
Dec 27th, 2006, 08:24 AM
#2
Re: installation of JDK-6 does not allow me to do javac from the command line
Sure, but you probably need to configure PATH yourself. Search the forum, it has been asked often enough. The instructions are the same for 6 as for any other version.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 27th, 2006, 10:42 AM
#3
Thread Starter
Frenzied Member
Re: installation of JDK-6 does not allow me to do javac from the command line
thansk for the reply
i will configure the path, why doesn't the installation configure the path by itself?
-
Dec 27th, 2006, 10:46 AM
#4
Re: installation of JDK-6 does not allow me to do javac from the command line
Several reasons.
1) The combined installation may not be meant to be used from the command line. After all, you've got the IDE, don't you?
2) Messing with the PATH is problematic. You never know what is already in there? What if another JVM is already in there? Can you be sure the user wants you to override it?
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 27th, 2006, 10:48 AM
#5
Thread Starter
Frenzied Member
Re: installation of JDK-6 does not allow me to do javac from the command line
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|