Two Laptop Bag*
The moose likes Beginning Java and the fly likes Compiling Java Programs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compiling Java Programs" Watch "Compiling Java Programs" New topic
Author

Compiling Java Programs

Steve Boyes
Greenhorn

Joined: Apr 13, 2003
Posts: 4
Hi

I have been using ms-dos to compile and run my Java programs. However i no longer have ms-dos on my system and wonder what other systems i can use to compile and run my programs. I am now running windows XP on my system. What program(s) do i need to install if any?

thanks

steve
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You still have the command line.

Click Start->Run
In the run window, type: cmd


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

It's also available through "Start / All Programs / Accessories / Command Prompt."

From there, you can right-click to send to desktop as a shortcut (and then drag the shortcut to the Quick Launch Bar if you like).
[ January 02, 2005: Message edited by: marc weber ]

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Parth Sagdeo
Ranch Hand

Joined: Mar 18, 2004
Posts: 40
You might also want to consider a program like Netbeans. I once did not know of these (IDE) programs, and when I took a closer look, I came to know and love them. Best of all, I don't have to do any configuring!
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Parth Sagdeo:
You might also want to consider a program like Netbeans...

Good suggestion!
http://www.netbeans.org
http://www.eclipse.org
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
bad solution in fact. You still need to know how to run and compile your creations outside the IDE, something people never get to know if you give them an IDE to solve their inability to use a commandline...

I have been using ms-dos to compile and run my Java programs


You haven't. There never was a version of Java for MS DOS...


42
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Jeroen Wenting:
bad solution in fact...

Well, a "bad solution" for figuring out how to compile on XP, but a good suggestion to consider in addition to the Command Prompt.

(Personally, I still perfer a simple text editor with the Command Prompt, but I see the value of a good IDE for streamlined development.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiling Java Programs
 
Similar Threads
NewB to Java
JDK 1.6 on OS X Leopard?
if java platform independent then
Java In General
Problems compiling program-can anyone help??