Hi everyone am new to java-ing i cant seem to create a class for my first application my "Hello World" when i type javac helloworld it returns that javac is not a in the path and i have created a path for java. Please help me.
kkcaddy
0
Newbie Poster
Recommended Answers
Jump to PostHi kkcaddy, you need to add the .java extension to the javac command in order to compile a java file. I.e:
javac helloworld.java
then you can run the file by using the java command like so:
java helloworld
You can find more information on the javac command here:
All 3 Replies
majestic0110
187
Nearly a Posting Virtuoso
katharnakh
7
Posting Whiz in Training
kkcaddy
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.