console for mac - running java programs (i coded in java)

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=34437

nusqax

03-03-2006 19:08:17

i've written some programs in java and i want to run them through the console or command prompt of some sort on my mac.

is there a good java IDE that can do this. i currently have netbeans, but i cant figure out how to run my programs.

help is much appreaciated D

Admin

03-03-2006 19:27:34

assuming jdk is installed, you should be able to just do it on the command line with the default java software

javac someFile.java
java someFile

nusqax

03-03-2006 20:09:13

[quote48eec6bcdf="Admin"]assuming jdk is installed, you should be able to just do it on the command line with the default java software

javac someFile.java
java someFile[/quote48eec6bcdf]
how do i do the command line thing?

kyks17

03-03-2006 20:55:33

should be able to write that code in a terminal window in the correct directory