tiantian
tiantian

Reputation: 41

How to export IntelliJ IDEA project for compiling on another machine without IntelliJ IDEA

I wrote a Java program using IntelliJ IDEA. Now I want to compile my source code on another machine which has no IntelliJ IDEA and only has javac. How can I export IntelliJ IDEA project as pure Java source code tarball so that I can compile my source code on that machine?

Upvotes: 0

Views: 205

Answers (1)

fmatar
fmatar

Reputation: 3470

Ideally you should be using a build system such as Maven or Gradle. This will remove the burden of depending on IDE settings and is support by all Java IDEs

Now if you still insist on using an IDE only without a build system. The export feature in IntelliJ and Eclipse both will come handy for you

Upvotes: 1

Related Questions