Java JRE 1.7u25, 1.6u45

Core libraries and systems
Message
Author
jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#21 Post by jpeps »

Right, the Java plugin isn't supported in Firefox for security reasons...but I don't know why you need it for YouTube videos (which use Flash). I posted a working SFS for the JRE binaries here:

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

You shouldn't need anything for Javascript.

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Java JRE 1.7u9, 1.6u37

#22 Post by Sky Aisling »

You shouldn't need anything for Javascript.
So, the issue isn't with Javascript? even tho Mozilla pointed me that way?
Then, do I need the .sfs from your thread?
http://murga-linux.com/puppy/viewtopic.php?t=83337

Perhaps it is a combination of issues.
This is an old machine circa 2002.
Perhaps the video card is the issue.

Some news video play but no sound.
Others no play and present warning such as this screenshot.
The issues with playing video seem to have appeared since the Java7 scare.

Looks like I need to search for the answer in a different way?
This is confusing. Sorry if I've interrupted your thread inappropriately.
Thank you for responding.

EDIT: Apparently it is a combination of issues.
A portion of the problem is solved by downloading Shinobar's getflash .pet.
I found the .pet here:
http://puppylinux.org/wikka/GetFlash
Sound solved:
http://www.murga-linux.com/puppy/viewto ... 115#575115
Again, thank you.
Attachments
Old_multimedia_Card1.png
(30.85 KiB) Downloaded 953 times
Unable_to_Play_Video1.png
(5.44 KiB) Downloaded 2454 times

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

Re: Java JRE 1.7u9, 1.6u37

#23 Post by jpeps »

Sky Aisling wrote:
You shouldn't need anything for Javascript.
So, the issue isn't with Javascript? even tho Mozilla pointed me that way?
Then, do I need the .sfs from your thread?
Javascript is unrelated to java. Turn it on/off in preferences/content

Having dispelled some Java myths, I'm a fan of using it for apps, but not in my web browser.

User avatar
TheAsterisk!
Posts: 406
Joined: Tue 10 Feb 2009, 08:52

#24 Post by TheAsterisk! »

JRE updated to 7u10 and 6u38

7u11 is on its way, either tonight or early tomorrow. I'll update when it's up.

In the meantime...

Yes, Firefox is flaggin 7u10 as being out of date and potentially insecure, since 7u11 is available. As I mentioned above, that'll get updated here, too, very shortly.

Otherwise, regarding weird errors with JRE-7, I've had those too, though I honestly don't know if it's JRE-7 itself or older Java apps meant to work with v6 that just haven't been tested with or updated for v7. (JDownloader, for instance, won't work quite right with JRE-7, but works under JRE-6. Those sorts of things are why I'm still keeping the v6 series as up to date as I can with what time I have.) If in doubt, use the latest v6 instead- it's a smaller package, too, and most things will work with it just as well if not better than with v7.

Stay tuned...

@Sky Aisling: as jpeps says above, "Java" and "Javasript" aren't actually related to one another. (Why their names are similar is a bit of computer history trivia, and not much else.) The state of your JRE plugin shouldn't have any bearing at all, one way or another, on javascript functionality in your web browser.

User avatar
TheAsterisk!
Posts: 406
Joined: Tue 10 Feb 2009, 08:52

#25 Post by TheAsterisk! »

UPDATED to version 7u11

Version 6u38 still available.

User avatar
TheAsterisk!
Posts: 406
Joined: Tue 10 Feb 2009, 08:52

#26 Post by TheAsterisk! »

UPDATED to versions 6u39 and 7u13.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#27 Post by darkcity »

Thanks for packaging JaveRE. I think yours is the most up to date now.

Anyhow added to wiki 8)
http://www.puppylinux.org/wikka/JavaRuntimeEnvironment

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#28 Post by jpeps »

darkcity wrote:Thanks for packaging JaveRE. I think yours is the most up to date now.

Anyhow added to wiki 8)
http://www.puppylinux.org/wikka/JavaRuntimeEnvironment
It's up to version 1.7.0_17.
http://murga-linux.com/puppy/viewtopic. ... 060#682060

Pelo

Merci beaucoup

#29 Post by Pelo »

Merci beaucoup to people like you who make benefit others of their works.
Have a nice day.
Pelo

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#30 Post by darkcity »

jpeps wrote:
darkcity wrote:Thanks for packaging JaveRE. I think yours is the most up to date now.

Anyhow added to wiki 8)
http://www.puppylinux.org/wikka/JavaRuntimeEnvironment
It's up to version 1.7.0_17.
http://murga-linux.com/puppy/viewtopic. ... 060#682060
Thanks for the heads up, added link to the post on WIki :twisted:

User avatar
username009
Posts: 13
Joined: Tue 30 Apr 2013, 04:44

RP

#31 Post by username009 »

does that mean if i install this i will also run minecraft?

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#32 Post by muggins »

@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: Select all

ln -s /usr/jre1.7.0_21/bin/* /usr/bin
Then right-click your minecraft.jar file, and Set Run Action to:

java -jar "$@"

User avatar
TheAsterisk!
Posts: 406
Joined: Tue 10 Feb 2009, 08:52

#33 Post by TheAsterisk! »

UPDATED to versions 1.7u21 and 1.6u45

Sorry about the delay, folks!

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#34 Post by peebee »

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
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
WB7ODYFred
Posts: 169
Joined: Sun 14 Dec 2008, 02:15
Location: Oregon & Washington

Shell Script to download, Install, and setup PATHS for Java

#35 Post by WB7ODYFred »

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

Code: Select all

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/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	
(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]

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 
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: Select all

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: Select all

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: Select all

#!/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. ... 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.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

Re: Shell Script to download, Install, and setup PATHS for Java

#36 Post by jpeps »

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.

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

Re: Shell Script to download, Install, and setup PATHS for Java

#37 Post by watchdog »

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.

User avatar
TheAsterisk!
Posts: 406
Joined: Tue 10 Feb 2009, 08:52

#38 Post by TheAsterisk! »

Updated to 7u25. i586 and amd64 packages added. 6u45-i586 still available.

TheNH813
Posts: 62
Joined: Wed 13 Nov 2013, 19:27

Thank you.

#39 Post by TheNH813 »

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

version2013
Posts: 503
Joined: Mon 09 Sep 2013, 00:00
Location: Florida, USA
Contact:

#40 Post by version2013 »

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

mirrors -->
md5 and hashdeep -->

Post Reply