Installing JDK 8 and Eclipse on porteus?

Get help with XFCE specific problems
Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Installing JDK 8 and Eclipse on porteus?

Post#1 by Jacoby59 » 11 Jan 2016, 16:24

Someone help me install JDK 8 and Eclipse IDE for Java Developers on 32bit Porteus 3.0. Thanks

killermenpl
White ninja
White ninja
Posts: 15
Joined: 07 Jan 2016, 14:58
Distribution: Porteus
Location: Poland

Re: Installing JDK 8 and Eclipse on porteus?

Post#2 by killermenpl » 15 Jan 2016, 17:14

Follow instructions here, then extract eclipse somewhere (preferably your desktop) and symlink the jre folder from

Code: Select all

/usr/lib64/java/
or

Code: Select all

/usr/lib/java/
(depends if you have 32bit system or 64bit)
to the folder where eclipse executable is located. It should work fine

Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Re: Installing JDK 8 and Eclipse on porteus?

Post#3 by Jacoby59 » 16 Jan 2016, 13:20

Sorry, noob here. I've downloaded and activated jre-8u66-i586-1.xzm from the links provided on the thread that you linked, but I'm not sure how to proceed from here. I found this thread and here slaxmax says that for JDK I'll have to download an additional file (jdk-8u66-linux-i586.tar.gz) along with the jre-8u66-linux-i586.tar.gz. I've downloaded that as well. Now, should I simply convert jdk-8u66-linux-i586.tar.gz to xzm and activate it? Or is there something else that I should do?

As for the Eclipse part, I've downloaded and extracted it but I have no idea how to symlink a folder

EDIT: I learned how to symlink directories but I can't find a jre folder inside the /usr/lib/java. The only folders there are bin, lib, man & plugin.

killermenpl
White ninja
White ninja
Posts: 15
Joined: 07 Jan 2016, 14:58
Distribution: Porteus
Location: Poland

Re: Installing JDK 8 and Eclipse on porteus?

Post#4 by killermenpl » 16 Jan 2016, 14:29

You have to download the jdk, not jre. The javabuilder does work and makes a jdk module, which contains jre. Just deactivate and delete jre module. You will have jre folder then. Symlinking is very easy. Just drag&drop the folder using right mouse button instead of left mouse button.

Jacoby59
Black ninja
Black ninja
Posts: 49
Joined: 07 Apr 2014, 04:10
Distribution: Porteus 3.0 RazorQT
Location: Chicago

Re: Installing JDK 8 and Eclipse on porteus?

Post#5 by Jacoby59 » 16 Jan 2016, 14:54

It works now! Thanks!

Post Reply