Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Apr 2014, 21:01
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Installing Java
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
sdelange99

Joined: 02 Jul 2013
Posts: 4

PostPosted: Tue 02 Jul 2013, 10:48    Post subject:  Installing Java
Subject description: The Java RPM file is can't be opened.
 

Hi guys!
I'm COMPLETELY new to Linux. I chose Puppy Linux because it was small and installable on my 16GB USB Drive Very Happy. 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!
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 271
Location: Bs.As. - Argentina.

PostPosted: Tue 02 Jul 2013, 11:07    Post subject:  

Very Happy Hi, welcome to Puppy.

See this:
http://murga-linux.com/puppy/viewtopic.php?search_id=1214809291&t=80688

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

Enjoy.
Back to top
View user's profile Send private message 
sdelange99

Joined: 02 Jul 2013
Posts: 4

PostPosted: Tue 02 Jul 2013, 12:15    Post subject:  

Galbi wrote:
Very Happy Hi, welcome to Puppy.

See this:
http://murga-linux.com/puppy/viewtopic.php?search_id=1214809291&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:
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]
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3219

PostPosted: Tue 02 Jul 2013, 12:27    Post subject:  

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.
Back to top
View user's profile Send private message 
sdelange99

Joined: 02 Jul 2013
Posts: 4

PostPosted: Tue 02 Jul 2013, 13:34    Post subject:  

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?
Back to top
View user's profile Send private message 
OscarTalks

Joined: 05 Feb 2012
Posts: 748
Location: London, England

PostPosted: Tue 02 Jul 2013, 14:17    Post subject:  

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

Back to top
View user's profile Send private message 
sdelange99

Joined: 02 Jul 2013
Posts: 4

PostPosted: Tue 02 Jul 2013, 14:25    Post subject:  

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! Very Happy
Back to top
View user's profile Send private message 
WB7ODYFred


Joined: 13 Dec 2008
Posts: 103
Location: Oregon & Washington

PostPosted: Tue 16 Jul 2013, 06:13    Post subject: [SOLVED] Install Java JRE Resouces and Files
Subject description: Use Musher0 Instl-Java.sh shell script file. It does it all for you.
 

http://murga-linux.com/puppy/viewtopic.php?t=77821&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-up-a-java-programming-environment-in-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/viewtopic.php?t=67371&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/javase/downloads/jre7-downloads-1880261.html Oracle Download page for JRE.

Hope this collection of notes helps. Fred
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0638s ][ Queries: 11 (0.0051s) ][ GZIP on ]