Home Download Buy Blog Forum Support

Sort of embarrassing

Sort of embarrassing

Postby pZhowden on Sat Apr 30, 2011 10:34 pm

Hi there, a friend just turned me on to Sublime and I'm giving it a try. However, embarrassing as it is to admit, I don't know how to compile and run a java program using Sublime. I'm relatively new to programming, and I've only ever used Textpad. Any help would be appreciated. Thanks in advance. :oops:
pZhowden
 
Posts: 1
Joined: Sat Apr 30, 2011 10:31 pm

Re: Sort of embarrassing

Postby ratnushock on Sun May 01, 2011 10:24 pm

If you already have the JDK installed, just press the F7 key and you are done.
In case you have not installed JDK, here you have a nice tutorial from The New Boston:
http://www.thenewboston.com/?cat=36&pOpen=tutorial (Chapter 1)

If you get some sort of error after pressing F7, it means that your program is a bit complex (it uses more than one file) and you should do all the linking, or just open Eclipse on another window just to compile your Java things. It's not the best solution but.. hey, it works!

Hope it helps!


P.D: You could also make some kind of auto-discovery magic linker Java plugin for Sublime Text, or encourage someone to do it.

EDIT: Fixed typo.
ratnushock
 
Posts: 8
Joined: Sun May 01, 2011 10:08 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 16 guests