Eclipse – Creating a jar file

File -> Export -> Java -> Jar file.

Okay that was easy, but surely there’s way to do it with Maven? … after installing maven and spending less than a minute reading the XML, I realized I really am not that interested in learning this right now. Maven/Ant/alternatives are important when you have a larger project and my 1 java file Hello World program.java simply isn’t.

More important than creating a jar file.. [Command]-[1] is similar to [Alt]-[Enter] in Visual Studio. Life saver!

Advertisements
This entry was posted in Java and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s