Home Download Buy Blog Forum Support

How to Compile and Run SIMPLE java programs: Jave SE6 & SE7

How to Compile and Run SIMPLE java programs: Jave SE6 & SE7

Postby DaveLG526 on Tue Jul 10, 2012 5:12 pm

I am taking a beginning java class and have been using a text editor like note pad but on a Mac OS. I then use a terminal to compile and run the programs.

This works fine but is a bit cumbersome. I do not want to learn something like Eclipse or Netbeans in parallel with learning Java so a more ful featured editor like Sublime seems like a good choice.I have also used VIM but it is a little too complex for me but a nice editor.


At present I am using Java SE 6 but will also need to do some simple exercises in Java SE 7 too.

My question is how do I set up a build file, or files since I will need Java 6 or Java 7, that will both compile and then run the Java program.

The standard setup that comes with Sublime does the compiling fine.
DaveLG526
 
Posts: 4
Joined: Tue Jul 10, 2012 4:57 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 25 guests

cron