Making a java app portable

Answered

I am learning Java and using IntelliJ to write code.  My application runs fine in the IDE but I want to make it run without the IDE in Windows and on a Raspberry PI running Linux.  I'm sure there is a guide for this, I just can't find it.  Any help locating the articles on building apps after they are coded would be helpful.

 

 

0
2 comments

See https://www.jetbrains.com/help/idea/creating-and-running-your-first-java-application.html#package.

Make a .jar file, then run it on any system with Java installed using `java -jar jarname.jar`.

0

I'll give that a try.

Thanks!

0

Please sign in to leave a comment.