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:
Tim Cooke
Campbell Ritchie
Ron McLeod
Junilu Lacar
Liutauras Vilda
Sheriffs:
Paul Clapham
Jeanne Boyarsky
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Piet Souris
Carey Brown
Bartenders:
Jesse Duncan
Frits Walraven
Mikalai Zaikin
Forum:
Beginning Java
Command for running a java file
AKEEL MALIK
Greenhorn
Posts: 26
posted 17 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 17 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.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
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...