I was trying to find a text editor which can quickly let me develop & run Java code without leaving the editor. Popular ones ( Eclipse,IntelliJ etc) are extremely powerful & offers too many options which we do not need all the time. Specially, for a beginner in coding, those professional editors might look a bit overwhelming at first.
In comes Sublime. Whats best is the simplicity.
Here is how you can develop core java in Sublime 2.
1. Edit the : C:\Users\palash.mukhopadhyay\AppData\Roaming\Sublime Text 2\Packages\Java\JavaC.sublime-build
2. Change the default options with :
{ "cmd": ["javac", "$file_name","&&","java", "$file_base_name"], "file_regex": "^(...*?):([0-9]*):?([0-9]*)", "path": "C:\\jdk1.8.0_51\\bin\\", "selector": "source.java", "shell": true }
3. Save changes.
4. Create a new java class.
5. Run it using : "Ctrl+B"
In comes Sublime. Whats best is the simplicity.
Here is how you can develop core java in Sublime 2.
1. Edit the : C:\Users\palash.mukhopadhyay\AppData\Roaming\Sublime Text 2\Packages\Java\JavaC.sublime-build
2. Change the default options with :
{ "cmd": ["javac", "$file_name","&&","java", "$file_base_name"], "file_regex": "^(...*?):([0-9]*):?([0-9]*)", "path": "C:\\jdk1.8.0_51\\bin\\", "selector": "source.java", "shell": true }
3. Save changes.
4. Create a new java class.
5. Run it using : "Ctrl+B"