Java JRE 1.7u25, 1.6u45
- username009
- Posts: 13
- Joined: Tue 30 Apr 2013, 04:44
RP
does that mean if i install this i will also run minecraft?
@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:
Then right-click your minecraft.jar file, and Set Run Action to:
java -jar "$@"
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: Select all
ln -s /usr/jre1.7.0_21/bin/* /usr/bin
java -jar "$@"
- TheAsterisk!
- Posts: 406
- Joined: Tue 10 Feb 2009, 08:52
Hi thereTheAsterisk! wrote:UPDATED to versions 1.7u21 and 1.6u45
Sorry about the delay, folks!
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 = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64
- WB7ODYFred
- Posts: 169
- Joined: Sun 14 Dec 2008, 02:15
- Location: Oregon & Washington
Shell Script to download, Install, and setup PATHS for Java
http://murga-linux.com/puppy/viewtopic. ... 1&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/li ... endly=true
http://www.java.com/en/download/help/li ... nstall.xml
I uninstalled old versions of JAVA from /usr/java
On my full hard disk Puppy LuPu 5.2.8 install, i placed Java at /usr/java
http://www.java.com/en/download/help/li ... endly=true
http://www.java.com/en/download/help/linux_install.xml
http://www.java.com/en/download/help/do ... ptions.xml
http://www.java.com/en/download/linux_manual.jsp
http://www.oracle.com/technetwork/java/ ... 80261.html
Download the Linux x86 46.04 MB version jre-7u25-linux-i586.tar.gz
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. ... 1&start=17
every java user should have a profile.local file in /etc with this at the end of it:
(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
[url]file:////etc/profile.d/java[/url]
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 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
Remove any link to file 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
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. ... 1&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- ... -Iceweasel
I welcome your input to update this article. Comment below or send me a private message.
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/li ... endly=true
http://www.java.com/en/download/help/li ... nstall.xml
I uninstalled old versions of JAVA from /usr/java
Code: Select all
cd /usr/java
ls -ld
rm -r jre1.6.0_??
rm -r jre1.7.0_07
http://www.java.com/en/download/help/li ... endly=true
http://www.java.com/en/download/help/linux_install.xml
http://www.java.com/en/download/help/do ... ptions.xml
http://www.java.com/en/download/linux_manual.jsp
http://www.oracle.com/technetwork/java/ ... 80261.html
Download the Linux x86 46.04 MB version jre-7u25-linux-i586.tar.gz
Code: Select all
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. ... 1&start=17
every java user should have a profile.local file in /etc with this at the end of it:
Code: Select all
# /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
"/opt/java/jre<version number>" is the most likely place your java would be installed.)
Check contents of your file /etc/profile.d/java
[url]file:////etc/profile.d/java[/url]
Code: Select all
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: Select all
#Java -version
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: Select all
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre1.7.0_25/lib/i386/libnpjp2.so
Code: Select all
cd /usr/lib/mozilla/plugins
rm -i libjavaplugin_oji.so
cd /usr/lib/firefox/plugins
rm -i libjavaplugin_oji.so
ln -s /usr/java/jre1.7.0_25/plugin/i386/ns7/libjavaplugin_oji.so
create file in /usr/sbin/enable_java_path.sh
Code: Select all
#!/bin/sh
export PATH="/usr/java/jre1.7.0_25/bin:$PATH"
exec java "$@"
/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. ... 1&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- ... -Iceweasel
I welcome your input to update this article. Comment below or send me a private message.
Last edited by WB7ODYFred on Wed 03 Jul 2013, 02:42, edited 4 times in total.
Re: Shell Script to download, Install, and setup PATHS for Java
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.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.
Re: Shell Script to download, Install, and setup PATHS for Java
I have experienced no need to set java path if you follow my way:WB7ODYFred wrote: Musher0 has created a shell script file to download, Install, and setup PATHS for Java.
http://www.murga-linux.com/puppy/viewtopic.php?t=86906
Libreoffice finds java. The browser plugin works.
- TheAsterisk!
- Posts: 406
- Joined: Tue 10 Feb 2009, 08:52
Thank you.
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
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
-
- Posts: 503
- Joined: Mon 09 Sep 2013, 00:00
- Location: Florida, USA
- Contact: