Installing Java

Booting, installing, newbie
Post Reply
Message
Author
sdelange99
Posts: 4
Joined: Tue 02 Jul 2013, 14:42

Installing Java

#1 Post by sdelange99 »

Hi guys!
I'm COMPLETELY new to Linux. I chose Puppy Linux because it was small and installable on my 16GB USB Drive :D. Here comes the problem... I'm learning the Java programming language so I thought: "If I could take my whole OS with me it would be GREAT!". After downloading the Eclipse SDK and placing it in a folder I tried to open it but it says I don't have Java.... I downloaded Java (through Firefox). After the downloading I tried to open the file but I can't open it!

I saw another tutorial on this forum, but that one was outdated...

Please HELP ME!
User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#2 Post by Galbi »

:D Hi, welcome to Puppy.

See this:
http://murga-linux.com/puppy/viewtopic. ... 91&t=80688

I've found it using the search function of the forum.

Enjoy.
sdelange99
Posts: 4
Joined: Tue 02 Jul 2013, 14:42

#3 Post by sdelange99 »

Galbi wrote::D Hi, welcome to Puppy.

See this:
http://murga-linux.com/puppy/viewtopic. ... 91&t=80688

I've found it using the search function of the forum.

Enjoy.
Thanks for sharing this! I've installed Java and the testjava link says me I have it! And now comes the stupid part... When I'm trying to run the Eclipse SDK, it still gives me this message:

Code: Select all

A java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:
/root/Eclipse/SDK/eclipse/jre/bin/java
java in your current PATH
I've tried re-installing, so does ANYONE know what to do?
Besides this, I'm really happy with my OS in my pocket! (I won't use it as my default OS which is Win8, but it's pretty awesome!)[/code]
jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#4 Post by jpeps »

Java path is /usr/local/bin/java, so eclipse is looking for it somewhere else.
I'm not sure how well eclipse runs in puppy, given the limited resources. You might run it on your windows machine instead. The java programs themselves will run well.
sdelange99
Posts: 4
Joined: Tue 02 Jul 2013, 14:42

#5 Post by sdelange99 »

jpeps wrote:Java path is /usr/local/bin/java, so eclipse is looking for it somewhere else.
I'm not sure how well eclipse runs in puppy, given the limited resources. You might run it on your windows machine instead. The java programs themselves will run well.
But I chose a portable OS because of the handyness. I love the option to carry the whole OS with me...

Edit:

Isn't there an option to change the folder where Eclipse will be searching in?
User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#6 Post by OscarTalks »

What Puppy is this?
Is it a full install or a frugal install in the USB drive?

Try creating a symlink in /usr/bin to the binary named java in the /bin folder which is inside the java folder. I (or someone else) can tell you how to do that if you don't already know.
Oscar in England
Image
sdelange99
Posts: 4
Joined: Tue 02 Jul 2013, 14:42

#7 Post by sdelange99 »

OscarTalks wrote:What Puppy is this?
Is it a full install or a frugal install in the USB drive?

Try creating a symlink in /usr/bin to the binary named java in the /bin folder which is inside the java folder. I (or someone else) can tell you how to do that if you don't already know.
I removed my Existing PET, java was installed in /usr/java/jre-xx
After that I installed the 1.7 PET from this page: http://www.murga-linux.com/puppy/viewtopic.php?t=67371. Java is now installed in /usr/java and Eclipse WORKS! :D
User avatar
WB7ODYFred
Posts: 169
Joined: Sun 14 Dec 2008, 02:15
Location: Oregon & Washington

[SOLVED] Install Java JRE Resouces and Files

#8 Post by WB7ODYFred »

http://murga-linux.com/puppy/viewtopic. ... 1&start=36 Use Musher0 Instl-Java.sh shell script file. It does it all for you including downloading the Java JRE file from the internet.

http://puppylinux.info/topic/ssetting-u ... n-slacko54 AARFs manual setup of Java JRE 7u25 version.

http://www.murga-linux.com/puppy/viewtopic.php?t=86906 How to build the latest java jre sfs by Watchdog

http://www.murga-linux.com/puppy/viewto ... 1&start=34 Manual Instructions for Installing Java JRE7u25 by WB7ODYFred. You are better off to use the first entry above and use Musher0 Instl-Java.sh shell script file.

http://www.puppylinux.org/wikka/SoftwareIndex Wiki for Puppy Linux
http://www.puppylinux.org/wikka/JavaRuntimeEnvironment JRE Java Runtime Environment Install and Setup
http://www.puppylinux.org/wikka/java Basic Java Information

http://www.oracle.com/technetwork/java/ ... 80261.html Oracle Download page for JRE.

Hope this collection of notes helps. Fred
Post Reply