0

I asked this here in hopes that someone well-versed in both IntelliJ and Ubuntu can shed some light on this. I went through hell trying to make a Java program run on Eclipse/IntelliJ because of one thing: incorrectly configured environment.

I'm now trying to get a fairly complicated Java program to run on Ubuntu IntelliJ which I already installed fresh, so before I even bother trying to make it run (since my past sad history with IDEs means it's gonna screw with 50 over unidentifiable errors in a correct source code), I need to ask: Is there a correct environment setting for intelliJ? I have already installed OpenJDK 8 on Ubuntu 17.04.

karel
  • 122,292
  • 133
  • 301
  • 332
Mack
  • 51

1 Answers1

1

You will need to install the following to get IntelliJ working:

  • IntelliJ itself (Best way is the JetBrains toolbox, as it makes updates easier)
  • A JDK (Easiest way is to install openjdk-8-jdk with apt-get, although Oracle java works just as well)

After installing these you may need to set your JDK inside IntelliJ, you should use the path /usr/lib/jvm/openjdk-8/

jrtapsell
  • 365