PDA

View Full Version : Java 6 PPC




128keaton
May 25, 2013, 08:12 AM
Hi all! I have been looking for this file for a while: java-6-dp9.dmg
Does anybody have that? That contains the PPC Java SE 6 for Leopard. Thanks!



tevion5
May 27, 2013, 01:03 PM
I'm afraid Java support for PowerPC ended quite some time ago so all our G5's and below are stuck running an old version of Java 5 I'm afraid. No modern minecraft for you! :P

aPple nErd
May 27, 2013, 01:45 PM
I'm afraid Java support for PowerPC ended quite some time ago so all our G5's and below are stuck running an old version of Java 5 I'm afraid. No modern minecraft for you! :P

lol i love minecraft. thats y i switched to intel :)

tevion5
May 27, 2013, 03:16 PM
lol i love minecraft. thats y i switched to intel :)

Enough justification for a $1000+ upgrade! :P

aPple nErd
May 27, 2013, 04:00 PM
Enough justification for a $1000+ upgrade! :P

it was actually

tevion5
May 27, 2013, 04:15 PM
it was actually

I run my own Tekkit server actually so I'm passionate about minecraft too ;)

Wildy
May 27, 2013, 04:34 PM
Hi all! I have been looking for this file for a while: java-6-dp9.dmg
Does anybody have that? That contains the PPC Java SE 6 for Leopard. Thanks!

Here is DP8 (http://bit.ly/140b92z). Don't lose it - it took me a long time to find it! I never could find the DP9 though.

My G4 is currently out of action, so it's untested. Please report back with your findings.

Possible install method:

1. Install DMG
2. su root; cd /System/Library/Frameworks/JavaVM.framework/Versions; ls
3. Make sure you see '1.6 -> 1.6.0' CurrentJDK -> 1.5
4. rm CurrentJDK (removes symbolic link, not the jdk)
5. ln -s 1.6 CurrentJDK
6. java -version

aPple nErd
May 27, 2013, 04:43 PM
I run my own Tekkit server actually so I'm passionate about minecraft too ;)

oh, i see. can i have the ip?

tevion5
Jun 15, 2013, 09:51 PM
oh, i see. can i have the ip?

Yes you can! :D

It's a Tekkit Lite server and the address is:

snovia.nanotekkit.us

Feel free to have a look around!

Intell
Jun 15, 2013, 10:02 PM
Here is DP8 (http://bit.ly/140b92z). Don't lose it - it took me a long time to find it! I never could find the DP9 though.

My G4 is currently out of action, so it's untested. Please report back with your findings.

Possible install method:

That's just a link to Apple's Java for Leopard 8 Update. Here's the latest 10 update: https://support.apple.com/kb/dl1359

rabidz7
Jun 15, 2013, 10:13 PM
Yes you can! :D

It's a Tekkit Lite server and the address is:

snovia.nanotekkit.us

Feel free to have a look around!

Why don't you switch to FeedTheBeast, which is just like tekkit, but has permission from the modders, and industrial craft.

tevion5
Jun 15, 2013, 10:29 PM
Why don't you switch to FeedTheBeast, which is just like tekkit, but has permission from the modders, and industrial craft.

I haven't read up on feed the beast. You mean an integrated perms system? That interests me because having to use MCPC or BukkitForge is a nightmare but I need it to bring in my BukkitForge plugins, most importantly worldedit and PEX.

Wildy
Jun 16, 2013, 04:03 AM
That's just a link to Apple's Java for Leopard 8 Update. Here's the latest 10 update: https://support.apple.com/kb/dl1359

Hmm that's a shame. Will have to kee looking for the Developer Preview...

skinniezinho
Jun 16, 2013, 10:42 AM
There is another thing here:
http://forums.macrumors.com/showthread.php?t=1091765

Zeke D
Jun 16, 2013, 11:10 AM
Here is DP8 (http://bit.ly/140b92z). Don't lose it - it took me a long time to find it! I never could find the DP9 though.


A torrent? really?

Wildy
Jun 16, 2013, 12:23 PM
Dear lord, a file which doesn't get lost when the server goes offline - the horrors. If more files were available as torrents then we wouldn't be in this mess in the first place.

There is another thing here:
http://forums.macrumors.com/showthread.php?t=1091765
Soylatte is a build of OpenJDK 6 (has possible been updated to 7?) for PowerPC. I haven't tested it thoroughly, but it's incompatible with some things due to various missing components (odd, because OpenJDK 6 on Linux works just fine). It might be worth giving it another shot though.

skinniezinho
Jun 16, 2013, 12:24 PM
Dear lord, a file which doesn't get lost when the server goes offline, the horrors. If more files were available as torrents then we wouldn't be in this mess in the first place.

Agree.
Has anyone saw/tried this: http://landonf.bikemonkey.org/static/soylatte/#get
(it's on the FAQ)

honam1021
Jul 10, 2013, 09:33 AM
Here is DP8 (http://bit.ly/140b92z). Don't lose it - it took me a long time to find it! I never could find the DP9 though.

My G4 is currently out of action, so it's untested. Please report back with your findings.

Possible install method:

Sorry for bumping this thread, but the torrent your provided seems to be dead. If you still have the file, can you reupload it?

Andropov
Jul 10, 2013, 09:35 AM
Sorry for bumping this thread, but the torrent your provided seems to be dead. If you still have the file, can you reupload it?

I'm seeding it now, check it ;)

honam1021
Jul 10, 2013, 10:19 AM
I'm seeding it now, check it ;)

Thanks, now it's downloading at 50-100 kb/s. Hope that the file will be ready when I wake up tomorrow

Intell
Jul 10, 2013, 12:18 PM
Sorry for bumping this thread, but the torrent your provided seems to be dead. If you still have the file, can you reupload it?

The torrent is just Apple's Java Update 8 for Leopard. See my previous post to download the latest Update 10. If you still want the Update 8, you can download it from Apple's site.

That's just a link to Apple's Java for Leopard 8 Update. Here's the latest 10 update: https://support.apple.com/kb/dl1359

mayuka
Jul 10, 2013, 12:51 PM
The torrent is just Apple's Java Update 8 for Leopard. See my previous post to download the latest Update 10. If you still want the Update 8, you can download it from Apple's site.

First of all, you linked Update 10. Furthermore, the description explicitely states that it will update Java 6 only on 64-bit intel Macs.

Java for Mac OS X 10.5 Update 10 delivers improved compatibility, security, and reliability by updating J2SE 5.0 to 1.5.0_30, and updating Java SE 6 to 1.6.0_26 for 64-bit capable Intel-based Macs.

I'm a bit confused here. Installing Update 10, will it remove the old Java 6 for PowerPC? :confused: Do I need to install Update 8 before installing Update 10? :confused:

Intell
Jul 10, 2013, 01:03 PM
First of all, you linked Update 10. Furthermore, the description explicitely states that it will update Java 6 only on 64-bit intel Macs.

I know I linked to Update 10, that what my post and my quoted say. The description may say that, but it's no different that Update 8.

mayuka
Jul 10, 2013, 01:19 PM
I know I linked to Update 10, that what my post and my quoted say. The description may say that, but it's no different that Update 8.

Ok. Thanks.

mayuka
Jul 11, 2013, 05:31 AM
I installed the update. But java6 won't show.

I tried launching "Java Preferences". Only 1.5.0 and 1.4.1 show up.

Then I did the following:

# java -show-version
java version "1.5.0_26"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_26-b03-376-9M3263)
Java HotSpot(TM) Client VM (build 1.5.0_26-156, mixed mode)

# which java
/usr/bin/java

# ls /usr/bin/java
/usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/jav

# ls /System/Library/Frameworks/JavaVM.framework/Versions/Current
System/Library/Frameworks/JavaVM.framework/Versions/Current -> A

# ls /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK -> 1.6

# /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java -show-version
bash: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java: Bad CPU type in executable


What am I doing wrong? :confused:

Intell
Jul 11, 2013, 08:20 AM
Java 6 will only be installed on Intell Macs via Apple's Java Updates. If
You want it on a PowerPC Mac, you must use the hard to find Java SDK.

mayuka
Jul 11, 2013, 08:53 AM
Java 6 will only be installed on Intell Macs via Apple's Java Updates. If
You want it on a PowerPC Mac, you must use the hard to find Java SDK.

Now the big question: And where do I find it? :confused:

The only thing I could find is soylatte (http://landonf.bikemonkey.org/static/soylatte/#get). But I don't know how to install it so that it is visible to the Applications...

Intell
Jul 11, 2013, 02:03 PM
Now the big question: And where do I find it? :confused:

You can't. That's what this thread is about, trying to locate it.

Amazin69
Jul 11, 2013, 02:52 PM
Apparently the whole problem can be solved by creating/installing the Darwin9Build (https://wikis.oracle.com/display/OpenJDK/Darwin9Build), John Yeary's revision and update of Landon Fuller's original SoyLatte work.

Unfortunately, I'm no developer so the whole process seems almost unintelligible to me. Would love for somebody to hold my hand (metaphorically) and guide me through it, as I also desperately need a Java 6 equivalent for my G5.

mayuka
Jul 12, 2013, 12:07 AM
Apparently the whole problem can be solved by creating/installing the Darwin9Build (https://wikis.oracle.com/display/OpenJDK/Darwin9Build), John Yeary's revision and update of Landon Fuller's original SoyLatte work.

Thanks for the link. Macports fails to build some essential packages since ages. They do not care anymore about PPC-users, I think. However, I'll try to build it and report.

mayuka
Jul 12, 2013, 03:02 AM
Ok. This is just the JDK. What we need is the JavaVM.

Amazin69
Jul 13, 2013, 02:50 AM
Well, that makes sense, as SoyLatte (the root work for Darwin9) was always described as being part of the "OpenJDK Project". So now we need to find someone who's been making JavaVM without JDK?

(Why would one do that? Don't you need both? Confusing…)

Still, I hope this means we are partway home. Thanks, mayuka!

mayuka
Jul 13, 2013, 03:21 AM
Well, that makes sense, as SoyLatte (the root work for Darwin9) was always described as being part of the "OpenJDK Project". So now we need to find someone who's been making JavaVM without JDK?

The JDK is for writing and developing apps, the JavaVM for starting/running apps. The most-known Open source implementation is kaffe (http://en.wikipedia.org/wiki/Kaffe) I think. The Apple update includes both, jdk and the vm.

ihuman:D
Jul 13, 2013, 06:46 AM
Thanks for the link. Macports fails to build some essential packages since ages. They do not care anymore about PPC-users, I think. However, I'll try to build it and report.

MacPorts can't build anything on Leopard, only on Lion and Mountain Lion and maybe Snow Leopard.

Intell
Jul 13, 2013, 07:09 AM
MacPorts can't build anything on Leopard, only on Lion and Mountain Lion and maybe Snow Leopard.

I've had MacPort build on PowerPC Leopard before. It support Snow Leopard as well. I'm not sure if it still does, but at one time it did.

MisterKeeks
Jul 13, 2013, 12:13 PM
MacPorts can't build anything on Leopard, only on Lion and Mountain Lion and maybe Snow Leopard.

Thanks for the link. Macports fails to build some essential packages since ages. They do not care anymore about PPC-users, I think. However, I'll try to build it and report.

Macports works very well on Leopard. They still actively respond to issues with building software on Leopard/PowerPC. I build stuff all the time with it on my G5. Tiger is where things don't work quite as well, but I'll be investigating that more in the future when I actually need things built on Tiger.

Have you tried sudo port selfupdate?

Amazin69
Jul 13, 2013, 05:48 PM
So Darwin9 and Kaffe combined should cover all the bases? Excellent. (Prepares to give props to mayuka.)

And I don't know about anyone else, but when I tried "sudo port selfupdate" I got "sudo: port: command not found" in response.

mayuka
Jul 14, 2013, 12:04 AM
I tried several times to use Macports on PPC, but it failed the last couple of times building rsync and tightvnc/tigervnc. I always started from scratch with their latest version. I have not tried kaffe or something similar.

MisterKeeks
Jul 15, 2013, 09:10 PM
I tried several times to use Macports on PPC, but it failed the last couple of times building rsync and tightvnc/tigervnc. I always started from scratch with their latest version. I have not tried kaffe or something similar.

I'll try it when I get back home in a week.

128keaton
Oct 30, 2013, 11:27 AM
That's just a link to Apple's Java for Leopard 8 Update. Here's the latest 10 update: https://support.apple.com/kb/dl1359

That only has Java 5 for PPC Leopard.

----------

Here is DP8 (http://bit.ly/140b92z). Don't lose it - it took me a long time to find it! I never could find the DP9 though.

My G4 is currently out of action, so it's untested. Please report back with your findings.

Possible install method:

This is great. I forgot about this thread, but I will download as soon as I can get my PPC mac up.

Intell
Oct 30, 2013, 04:05 PM
That only has Java 5 for PPC Leopard. This is great. I forgot about this thread, but I will download as soon as I can get my PPC mac up.

Wildy's link is just the Java for Leopard 8 Update. It doesn't contain anything different that the link I posted.

128keaton
Oct 31, 2013, 09:20 PM
Wildy's link is just the Java for Leopard 8 Update. It doesn't contain anything different that the link I posted.

Java for Mac OS X 10.5 Update 10 delivers improved compatibility, security, and reliability by updating J2SE 5.0 to 1.5.0_30, and updating Java SE 6 to 1.6.0_26 for 64-bit capable Intel-based Macs.

Only Java 6 to Intel, not the PPC. The torrent is the developer preview which contained a version of Java 6 for PPC, I do not know why they did not implement it into Leopard officially, but then again, Intel was all the rage. When Apple drops a product, they forget about it. "PPC? Whats that?" ~Apple, Inc, 2006.

Intell
Oct 31, 2013, 09:31 PM
You're not understanding what I'm saying. The link that Windly is posting is nothing at all different than the link I'm posting. It doesn't contain Java 6 for PowerPC Macs, only Intell. It isn't the mythical developer preview.

128keaton
Dec 3, 2013, 09:51 AM
You're not understanding what I'm saying. The link that Windly is posting is nothing at all different than the link I'm posting. It doesn't contain Java 6 for PowerPC Macs, only Intell. It isn't the mythical developer preview.
Ah! You are right. *sigh* I hoped... SoyLatte is only the JDK, but personally, I'm more concerned with the JVM. I've never heard of Kaffe either.. Hmm...

----------

At one point, this page had DP9:
http://meiert.com/en/blog/20071029/java-and-lynx-for-mac/

If only internet archive saved it....


Here is the actual link:

http://web.archive.org/web/20100102032855/http://hell.meiert.org/core/dmg/java-6-dp.dmg


and another possible one:

http://images.spelpunt.nl/javase6release1dp6.dmg

Another (working) link for DP6:

http://livetube.cc/testing/osx/javase6release1dp6.dmg

Link for DP5:
http://www.msg.ucsf.edu/local/programs/MacOSX/javase6/

HOLY ****:
I tried the first link, its downloading it right now!
As soon as its done, I'm gonna put it up on a better site!



Annnd this link should work:

https://mega.co.nz/#!cBBW3ZwA

Nyy8
Dec 3, 2013, 10:44 PM
That is quite a find I must admit. But is it the real DP9? (Did you test it?)

128keaton
Dec 4, 2013, 09:54 AM
That is quite a find I must admit. But is it the real DP9? (Did you test it?)

Haven't had a chance, but I'm hooking my G5 up right now.

128keaton
Dec 4, 2013, 10:43 AM
Saying it only installs on 10.4.

----------

Alright, more leads on the DP9. We've been searching it by the wrong name. Its actually:
javase6dp9.dmg
Official ADC link (which does not work, thanks Apple)
http://adcdownload.apple.com/Java/java_se_6_developer_preview_9/javase6dp9.dmg
(I am an official developer, maybe its because I'm just iOS?)

flexsin1
Dec 13, 2013, 03:14 AM
[/FONT]a;17562239]Ok. Thanks.

i agree with him

SamsMac
Dec 14, 2013, 01:34 AM
Hello Friends
I am new at the forum, i am from Austria. and sorry for my broken English.:D
I have also a Powermac G5 with a very good configuration, and i dont want to change my machine, first it is still a very capable machine (Powermac G5 quad, 8GB Ram, 1TB HDD,...), i want to use Java JDK but i cant find a solution, i am stacked with the version 1.5.30:mad:
If you can help me, i will be very thankful, i found this website: https://wikis.oracle.com/display/OpenJDK/Darwin9Build, but i am not a developer, and i cant build my own openJDK7.
Please Help

langelgjm
Jan 7, 2014, 04:11 PM
Saying it only installs on 10.4.


This is easy to bypass. Use Disk Utility to convert the disk image to a read/write image on your hard drive. Mount the new image, and show the installation package contents.

Open the JavaSE6Release1.dist file in the Contents directory with a text editor. Find the following if statement and delete it:

if ( system.compareVersions(sysVersion.ProductVersion, "10.5") >= 0 )
{
my.result.message = system.localizedStringWithFormat('sysTooNew');
my.result.type = 'Fatal';
return false;
}

If you don't have any botched attempt of 1.6 installed, that should be all. Otherwise you may need to delete the following if statement as well (I had to do this):

// if the JavaVM.framework is greater than 11.6.0 (this release), don't install
// Note: this logic needs to be checked/bumped with every Java release
if (system.compareVersions(javaBundle.CFBundleShortVersionString, "11.6.0") == 1)
{
my.result.message = system.localizedStringWithFormat('javaTooNew');
my.result.type = 'Fatal';
return false;
}

There is one more if statement that may be relevant (search for "java16TooNew" in the file) but I did not need to delete it.

Now save the file and run the installation package. It should install without issue.

Unfortunately, it still does not work for me. If I execute "java -version" in a Terminal, I get the following:

$ /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
dyld: lazy symbol binding failed: Symbol not found: _GetAvailableVMVersions
Referenced from: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
Expected in: /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/JavaApplicationLauncher

dyld: Symbol not found: _GetAvailableVMVersions
Referenced from: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
Expected in: /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/JavaApplicationLauncher

Trace/BPT trap

From what I understand, this means that this version of Java references a library that I do not have on my system. So it may still be possible to get it working...

128keaton
Jan 8, 2014, 10:03 AM
This is easy to bypass. Use Disk Utility to convert the disk image to a read/write image on your hard drive. Mount the new image, and show the installation package contents.

Open the JavaSE6Release1.dist file in the Contents directory with a text editor. Find the following if statement and delete it:

if ( system.compareVersions(sysVersion.ProductVersion, "10.5") >= 0 )
{
my.result.message = system.localizedStringWithFormat('sysTooNew');
my.result.type = 'Fatal';
return false;
}

If you don't have any botched attempt of 1.6 installed, that should be all. Otherwise you may need to delete the following if statement as well (I had to do this):

// if the JavaVM.framework is greater than 11.6.0 (this release), don't install
// Note: this logic needs to be checked/bumped with every Java release
if (system.compareVersions(javaBundle.CFBundleShortVersionString, "11.6.0") == 1)
{
my.result.message = system.localizedStringWithFormat('javaTooNew');
my.result.type = 'Fatal';
return false;
}

There is one more if statement that may be relevant (search for "java16TooNew" in the file) but I did not need to delete it.

Now save the file and run the installation package. It should install without issue.

Unfortunately, it still does not work for me. If I execute "java -version" in a Terminal, I get the following:

$ /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
dyld: lazy symbol binding failed: Symbol not found: _GetAvailableVMVersions
Referenced from: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
Expected in: /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/JavaApplicationLauncher

dyld: Symbol not found: _GetAvailableVMVersions
Referenced from: /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
Expected in: /System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Versions/A/JavaApplicationLauncher

Trace/BPT trap

From what I understand, this means that this version of Java references a library that I do not have on my system. So it may still be possible to get it working...

Yeah, that sucks. Apple Y U MAKE DIFFICULT.

Namija
Jan 20, 2014, 03:54 PM
I'm afraid Java support for PowerPC ended quite some time ago so all our G5's and below are stuck running an old version of Java 5 I'm afraid. No modern minecraft for you! :P
Actually, that is not true. Java 6 was in Beta for PPC but they soon dropped it because Intel was on the rise. I spent a lOOOOOOONNNNNNGGGGGG time looking up that information. If only somebody uploaded it...

Hughmac
Jan 20, 2014, 05:26 PM
Got it !!!

javase6release1dp6.dmg downloaded from http://livetube.cc/testing/osx/

Just tried to run the update but the first problem was a warning that it will only run on 10.4
There must be a plist somewhere that can be edited to include 10.5 ...

... but according to http://stackoverflow.com/questions/613175/java-6-on-mac-powerpc-with-mac-os-x-10-4 answer no.3 (by the way their link is dead) -

"You can't install it via installer but go to /Volumes/Java\ SE\ 6\ Release\ 1/JavaSE6Release1.pkg/ and copy Archive.pax.gz to your Desktop; gzip -d Archive.pax.gz and then pax or double click on Archive.pax.

Now there is the package content. Under /Your Desktop/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin you can find a PPC 1.6 JDK ;-) beta but an working 1.6 JDK.

Copy 1.6.0 to /System/Library/Frameworks/JavaVM.framework/Version .. run /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java

Thats it ..."

Will have a go in the morning, once I've backed everything up with CCC.

How do I check if it's working?

Cheers :)

Hugh

Hughmac
Jan 21, 2014, 02:55 AM
Sorry :(

Seems I merely found the same file mentioned in post no. 42 on the previous page :o

Cheers :)

Hugh

Hughmac
Jan 23, 2014, 06:25 AM
OK, so I've been playing around with this - I followed the instructions in the blue text of my above post and copied the 1.6 JDK into the location specified (had to remove some aliases related to an Intel version of 1.6), and in addition I changed the JavaPluginCocoa.bundle in /Library/Internet Plugins to the 1.6 version.

Firstly, java -version in Terminal still returns

PowerBookG4-A1106:~ hugh$ java -version
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)

But, in TenFourFox 17, about: plugins gives

Java Plug-In 2 for NPAPI Browsers

File: JavaPlugin2_NPAPI.plugin
Version: 12.9.0
Java Plug-In 2 for NPAPI Browsers

MIME Type Description Suffixes
application/x-java-applet;version=1.3 Java applet
application/x-java-applet;version=1.5 Java applet
application/x-java-applet;version=1.1.3 Java applet
application/x-java-applet;version=1.2 Java applet
application/x-java-applet;version=1.2.1 Java applet
application/x-java-applet;version=1.4.2 Java applet
application/x-java-applet;version=1.1 Java applet
application/x-java-applet;version=1.1.1 Java applet
application/x-java-applet;version=1.3.1 Java applet
application/x-java-applet;version=1.6 Java applet
application/x-java-applet Basic Java Applets javaapplet
application/x-java-applet;jpi-version=1.6.0_26 Java applet
application/x-java-vm Java applet
application/x-java-applet;version=1.4 Java applet
application/x-java-applet;version=1.1.2 Java applet
application/x-java-applet;version=1.2.2 Java applet
application/x-java-vm-npruntime Java applet

So some of 1.6 is being used, probably mostly due to the replacement of the JavaPluginCocoa.bundle.

I also swear I'm getting far fewer 'Slow Script' errors in Safari Webkit

Cheers :)

Hugh

128keaton
Jan 24, 2014, 02:56 PM
OK, so I've been playing around with this - I followed the instructions in the blue text of my above post and copied the 1.6 JDK into the location specified (had to remove some aliases related to an Intel version of 1.6), and in addition I changed the JavaPluginCocoa.bundle in /Library/Internet Plugins to the 1.6 version.

Firstly, java -version in Terminal still returns

PowerBookG4-A1106:~ hugh$ java -version
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)

But, in TenFourFox 17, about: plugins gives

Java Plug-In 2 for NPAPI Browsers

File: JavaPlugin2_NPAPI.plugin
Version: 12.9.0
Java Plug-In 2 for NPAPI Browsers

MIME Type Description Suffixes
application/x-java-applet;version=1.3 Java applet
application/x-java-applet;version=1.5 Java applet
application/x-java-applet;version=1.1.3 Java applet
application/x-java-applet;version=1.2 Java applet
application/x-java-applet;version=1.2.1 Java applet
application/x-java-applet;version=1.4.2 Java applet
application/x-java-applet;version=1.1 Java applet
application/x-java-applet;version=1.1.1 Java applet
application/x-java-applet;version=1.3.1 Java applet
application/x-java-applet;version=1.6 Java applet
application/x-java-applet Basic Java Applets javaapplet
application/x-java-applet;jpi-version=1.6.0_26 Java applet
application/x-java-vm Java applet
application/x-java-applet;version=1.4 Java applet
application/x-java-applet;version=1.1.2 Java applet
application/x-java-applet;version=1.2.2 Java applet
application/x-java-vm-npruntime Java applet

So some of 1.6 is being used, probably mostly due to the replacement of the JavaPluginCocoa.bundle.

I also swear I'm getting far fewer 'Slow Script' errors in Safari Webkit

Cheers :)

Hugh

Nice progress. Its good to try to get Java 6 on these old beasts. Makes em more usable for the web.

Hughmac
Jan 24, 2014, 03:36 PM
Ha ha, FAILURE - I get the self same results in about: plugins with TenFourFox on another 15" PowerBook which hasn't had the Java 6 mod.

There is a 1.6.0.jdk in /System/Library/Java/JavaVirtualMachines (on both PowerBooks) which reports itself as Intel only - maybe the about: plugins is referring to this? but I can't see how as it's not PPC.

I've returned the modded PowerBook back to it's original state while I think again.
Trouble is, I don't really know what I am doing so fishing in the dark.

Cheers :)

Hugh

Franchute13
Mar 31, 2014, 11:02 AM
OK, so I've been playing around with this - I followed the instructions in the blue text of my above post and copied the 1.6 JDK into the location specified (had to remove some aliases related to an Intel version of 1.6), and in addition I changed the JavaPluginCocoa.bundle in /Library/Internet Plugins to the 1.6 version.

Firstly, java -version in Terminal still returns

PowerBookG4-A1106:~ hugh$ java -version
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)

Hugh


Hello.
Edit bash_profile and add the line.:

export PATH = / System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin $

now,

java -version
usage: update_sharing 1.3 | 1.4 | 1.5 | 1.6

java version "1.6.0-dp"
Java(TM) SE Runtime Environment (build 1.6.0-dp-b88-34)
Java HotSpot(TM) Core VM (build 1.6.0-b88-17-release, interpreted mode)