Sublime Forum

Can I export a sublime project into runnable jar?

#1

Can I export a sublime project into runnable jar? In Eclipse I choose the file, then click export, then click java and save it as runnable java file. Is there an equivalent option in sublime?

0 Likes

#2

Technically yes, but can’t do this directly without some work on your end.

Sublime is a text editor and not a dedicated IDE such as Eclipse or IntelliJ are. So while those tools are geared towards the idea of providing a lot of tools and shortcuts that a developer might need for various languages and tasks, Sublime is more open ended and tends to focus more on the editing of files than what happens to them afterwards.

That said, it can execute any arbitrary external program that you want it to. So for example if you know exactly the sequence of commands that you would need to run from a terminal to make something happen, you can generally make Sublime do it for you; it just doesn’t have that level of inherent knowledge out of the box.

0 Likes