Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Command for running a java file
AKEEL MALIK
Greenhorn
Posts: 26
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
How do I run a
java
file from the command prompt.
I compile the file by entering javac filename.java.
Maureen Charlton
Ranch Hand
Posts: 218
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
To compile a file at the command prompt type:
javac Example.java
to run the file at the command prompt type:
java Example
Be aware that it is case sensitive i.e. example is not the same as Example.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JAXP and Xerces or JAXB
help me the code
Stored procedure cannot be imported from java...?
Reg:Executing Commands
why cant i start my program in the console?
More...