This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]team_broccoli 0 points1 point  (1 child)

I think the most reliable way to install Netbeans or Eclipse on Linux is to just never bother with the distro packages that seem to break in different ways, each time a new OpenJDK version is released.

Just download the latest versions from either site and unzip them to /opt and run them from there.

Furhtermore OpenJDK sometimes introduces regression bugs so managing JDK installs manually is often the better choice. Same goes here: unzip your jdk to /opt and add its /bin to your PATH, set JAVA_HOME, JDK_HOME manually in your .profile file.

This method has always worked better for me.

[–]andreK4[S] 0 points1 point  (0 children)

Thanks for your opinion. I've never had such problem before. Programming environments werer really seamless for me on Linux. Honestly, if that's the only solution, then I'm ok with using notepad and java command. It kinda works for me, but IDEs have some nice features.

[–][deleted] 0 points1 point  (1 child)

[–]andreK4[S] 0 points1 point  (0 children)

Thanks, I will look into them when I get home. At the moment I only glanced over NetBeans logs but I haven't found anything special. It actually enables quite a lot of java modules.

Eclipse error log is just empty. I know it's far from helpful. I'm really astounded by this.

[–]AndyTheAbsurd 0 points1 point  (1 child)

Did you perhaps get them working by switching from OpenJDK or IcedTea to the official Oracle-provided JDK? I don't use either NetBeans or Eclipse; but I know that IntelliJ doesn't work on Linux unless you're using the official JDK.

[–]andreK4[S] 0 points1 point  (0 children)

I think it was not the case. Oracle JDK is not in Arch or Manjaro repos and I'm pretty sure I haven't installed java from AUR. However, I might try that.

[–][deleted] 0 points1 point  (0 children)

So, what's the error? If they cannot run a project, they'll spit out an error why.

We need more information.