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 Sun 23 Nov 2014, 02:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Java JRE 1.7u25, 1.6u45
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [40 Posts]   Goto page: Previous 1, 2, 3
Author Message
username009


Joined: 30 Apr 2013
Posts: 13

PostPosted: Sun 05 May 2013, 00:22    Post subject: RP  

does that mean if i install this i will also run minecraft?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6690
Location: lisbon

PostPosted: Sun 05 May 2013, 08:10    Post subject:  

@username009,

it's not hard to download & install the latest java release.

Download jre-7u21-linux-i586.tar.gz, extract it to /usr, then, in a console, do:

Code:
ln -s /usr/jre1.7.0_21/bin/* /usr/bin


Then right-click your minecraft.jar file, and Set Run Action to:

java -jar "$@"
Back to top
View user's profile Send private message 
TheAsterisk!


Joined: 10 Feb 2009
Posts: 403
Location: SE Wisconsin, US

PostPosted: Tue 21 May 2013, 06:58    Post subject:  

UPDATED to versions 1.7u21 and 1.6u45

Sorry about the delay, folks!
Back to top
View user's profile Send private message Visit poster's website 
peebee


Joined: 21 Sep 2008
Posts: 1515
Location: Worcestershire, UK

PostPosted: Wed 22 May 2013, 02:41    Post subject:  

TheAsterisk! wrote:
UPDATED to versions 1.7u21 and 1.6u45

Sorry about the delay, folks!


Hi there

Many thanks for keeping us up to date...

One problem - the links in post #1 are to .sfs.zip files which do not seem to contain anything when unzipped....

Thanks
peebee

_________________
LxPup-14.10 = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
WB7ODYFred


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

PostPosted: Tue 25 Jun 2013, 03:22    Post subject: Shell Script to download, Install, and setup PATHS for Java
Subject description: Java Install Notes
 

http://murga-linux.com/puppy/viewtopic.php?t=77821&start=36

I see this other thread that has a shell script for updating Java JRE to latest version.


Here are my manual instructions to document how I performed those steps. I welcome corrections and updates. Use the Shell Script file from the other thread. It installs to directory /opt/java/jre7xxx.
I installed to /usr/java. Frugal Installs might want to install to /mnt/home/java directory. Your mileage may vary.


http://www.java.com/en/download/help/linux_uninstall.xml?printFriendly=true
http://www.java.com/en/download/help/linux_uninstall.xml
I uninstalled old versions of JAVA from /usr/java
Code:

cd /usr/java
ls -ld
rm -r jre1.6.0_??
rm -r jre1.7.0_07


On my full hard disk Puppy LuPu 5.2.8 install, i placed Java at /usr/java
http://www.java.com/en/download/help/linux_install.xml?printFriendly=true
http://www.java.com/en/download/help/linux_install.xml
http://www.java.com/en/download/help/download_options.xml
http://www.java.com/en/download/linux_manual.jsp
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
Download the Linux x86 46.04 MB version jre-7u25-linux-i586.tar.gz

Code:
cd /usr/java
tar zxvf   jre-7u25-linux-i586.tar.gz
cd /usr/bin
ln -s /usr/jre1.7.0_21/bin/* /usr/bin



Musher0 has created a shell script file to download, Install, and setup PATHS for Java. The shell script is in a zip file to download. Makes the process easy for you. Recommended by GCMartin, too.

Java JRE is up to 1.7U25 as of June 24, 2013. file jre-7u25-linux-i586.tar.gz



Kudos to Musher0 for his scripting skills to make Java easy to install for ther rest of us Puppy Users.

Below Collected from Musher0 posts
http://murga-linux.com/puppy/viewtopic.php?t=77821&start=17
every java user should have a profile.local file in /etc with this at the end of it:


Code:
# /etc/profile.local
#
### some entries here, usually.
#
PATH=/mnt/home/java/jre1.7.0_03/bin:$PATH
LD_LIBRARY_PATH=/mnt/home/java/jre1.7.0_03/lib:$LD_LIBRARY_PATH   


(Please modify my "/mnt/home/java/jre1.7.0_03" with the proper location where your java is.
"/opt/java/jre<version number>" is the most likely place your java would be installed.)

Check contents of your file /etc/profile.d/java
file:////etc/profile.d/java
Code:

JAVA_HOME=$(ls -d /usr/java/jre* | tail -n 1); export JAVA_HOME
echo $PATH|grep -q "$JAVA_HOME" || export PATH=$PATH:$JAVA_HOME/bin;
CLASSPATH=$JAVA_HOME/lib; export CLASSPATH



Thank you Musher0 for your Hard work. GCMartin for pushing this issue to a successful conclusion with Musher0 contributing the Shell Script. I needed to update Java tonight. After manual updating, there was not added PATH directory to find Java
Code:
#Java -version
Did not work. So I read where I should go to make Java operational. I see there is more than the Java executable PATH that has to be updated too. Like Library Link Path


Update Mozilla/Firefox with the Java Plugin. Make a symbolic LInk from /usr/lib/mozilla/plugins to the location of java plugin libnpjp2.so
Code:

cd  /usr/lib/mozilla/plugins
ln -s /usr/java/jre1.7.0_25/lib/i386/libnpjp2.so


Remove any link to file libjavaplugin_oji.so
Code:
cd  /usr/lib/mozilla/plugins
rm -i libjavaplugin_oji.so
cd /usr/lib/firefox/plugins
rm -i libjavaplugin_oji.so
DONT CREATE A SYMBOLIC LINK TO THIS FILE with Java 7 and above release
ln -s /usr/java/jre1.7.0_25/plugin/i386/ns7/libjavaplugin_oji.so

create file in /usr/sbin/enable_java_path.sh
Code:
#!/bin/sh
export PATH="/usr/java/jre1.7.0_25/bin:$PATH"
exec java "$@"

chmod +x /usr/sbin/enable_java_path.sh
/usr/sbin/enable_java_path.sh



Open Firefox Browser. Enter about:plugins to see if you have the latest Java Plugin installed to your browser

Test your installed Java Version here.
http://www.java.com/en/download/installed.jsp

http://murga-linux.com/puppy/viewtopic.php?t=77821&start=36

Please use this other thread that has a shell script for updating Java JRE to latest version. The above are my notes and documentation working to figuring out a problem with my Java7 installation.
Removal of a symbolic link to the file libjavaplugin_oji.so fixed that problem. adding the Java JRE bin directory to my PATH enabled my java to type java -version in a terminal command window.
This Tommy Stanton Blog post URL helped me with my problem.
http://tommystanton.com/entry/20111030-Getting-Java-to-work-again-in-Iceweasel
I welcome your input to update this article. Comment below or send me a private message.

Last edited by WB7ODYFred on Tue 02 Jul 2013, 22:42; edited 4 times in total
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Tue 25 Jun 2013, 15:41    Post subject: Re: Shell Script to download, Install, and setup PATHS for Java  

WB7ODYFred wrote:


Here are my manual instructions to document how I performed those steps. I welcome corrections and updates. Use the Shell Script file from the other thread. It installs to directory /opt/java/jre7xxx.
I installed to /usr/java. Frugal Installs might want to install to /mnt/home/java directory. Your mileage may vary.


A simple build script can do the entire operation. I included one in the programming area for Java. With build scripts, you simply edit in the desired version number and that's it. That's the point of having one.
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 637

PostPosted: Wed 26 Jun 2013, 03:35    Post subject: Re: Shell Script to download, Install, and setup PATHS for Java  

WB7ODYFred wrote:

Musher0 has created a shell script file to download, Install, and setup PATHS for Java.


I have experienced no need to set java path if you follow my way:

http://www.murga-linux.com/puppy/viewtopic.php?t=86906

Libreoffice finds java. The browser plugin works.
Back to top
View user's profile Send private message 
TheAsterisk!


Joined: 10 Feb 2009
Posts: 403
Location: SE Wisconsin, US

PostPosted: Wed 09 Oct 2013, 21:12    Post subject:  

Updated to 7u25. i586 and amd64 packages added. 6u45-i586 still available.
Back to top
View user's profile Send private message Visit poster's website 
TheNH813

Joined: 13 Nov 2013
Posts: 26

PostPosted: Wed 13 Nov 2013, 15:45    Post subject: Thank you.
Subject description: A thank you to TheAsterisk! for making these packages available.
 

Thank you TheAsterisk! for making these packages available! You are the only person providing a PET package as well as a SFS and I really appreciate that. I needed Java JRE7+ for Minecraft and JRE6 a slightly dated (4.6.X) LibreOffice (I have a Win/Linux/Mac install disk I made a year or two ago). Once again thanks, and thanks for keeping a (pretty) recent release of JRE available.


PS: I made this account just to thank you and ask a question on the NVIDIA drivers thread (Minecraft currently crashes Xorg). I may also be interested in releasing some hard to find packages for others, so I may end up posting quite often here.

-TheNH813
Back to top
View user's profile Send private message 
version2013

Joined: 08 Sep 2013
Posts: 90

PostPosted: Wed 15 Jan 2014, 01:56    Post subject:  

My 'green_dome' account is inactive.
The mirrors have a new location.

mirrors -->
md5 and hashdeep -->
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 3 of 3 [40 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
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.1002s ][ Queries: 13 (0.0197s) ][ GZIP on ]