Fake Java version number?

Discussion in 'PowerPC Macs' started by WalnutSpice, Oct 1, 2015.

  1. WalnutSpice Suspended

    WalnutSpice

    Joined:
    Jun 21, 2015
    Location:
    Canton, Oh
    #1
    I was thinking about how the fake 16.x Adobe Flash version number on PowerPC Macs does help to enable some features, and was curious if this can be done to Java 1.5 as well? I've tried looking everywhere for the Java 1.6 beta release that worked on PowerPC that probably doesn't even exist, so maybe if we can modify the version on the existing Java 1.5, maybe we can get some Java 1.6 features?
     
  2. tevion5 macrumors 68000

    tevion5

    Joined:
    Jul 12, 2011
    Location:
    Ireland
    #2
    I have spent hours of my life trying to compile Open JDK7 and Beta 1.6 on PowerPC to no avail. I feel that if the right people spent a little time on it, it could be done without much difficulty. The source is there, we just need a xo-ordinated effort. That has so far never occurred.
     
  3. 128keaton macrumors 68020

    128keaton

    Joined:
    Jan 13, 2013
    #3
    I've spent a good amount of time trying that myself. I agree, it could happen.
     
  4. MacCubed macrumors 68000

    MacCubed

    Joined:
    Apr 26, 2014
    Location:
    Florida
    #4
    I have also, it just doesn't ever want to work right for me lol
     
  5. MysticCow macrumors 6502a

    MysticCow

    Joined:
    May 27, 2013
    #5
    There are rumors of a VERY OLD Mac Runtime for Java 1.6 floating around. At best they are rumors.
     
  6. eyoungren macrumors P6

    eyoungren

    Joined:
    Aug 31, 2011
    Location:
    Phoenix • 85037
    #6
    Hmmm…MacRumors??

    ;)
     
  7. MysticCow macrumors 6502a

    MysticCow

    Joined:
    May 27, 2013
    #7
    You made me giggle. :D

    I'm still hoping against hope that someone can package Soylatte components into an MRJ container. It might be a fruitless endeavor, so...
     
  8. WalnutSpice thread starter Suspended

    WalnutSpice

    Joined:
    Jun 21, 2015
    Location:
    Canton, Oh
    #8
    Damn it, ya beat me to it
     
  9. Xandros, Oct 2, 2015
    Last edited: Oct 2, 2015

    Xandros macrumors regular

    Joined:
    Sep 19, 2010
    #9
    There was, (and probably still is) a version of Java 1.6 for PowerPC Macs. It was originally a developer preview installation for PPC Tiger but, it did a few dodgey things or, something, maybe security-flaw related. Apple dropped support for the PPC version of it and only continued with the Intel version hence why from then on, Tiger stayed on Java 1.4, and PowerPC Leopard stayed on 1.5 while Intel Leopard and Snow Leopard got 1.6.

    You could still install the 1.6 developer preview on Leopard by doing some faffling around (normally running the installer just tells you it's only for Tiger), no idea how well it worked though. If you can find it, the file name was javase6release1dp6.dmg but the only links I've come across for it in recent times were all dead. It's probably also no longer available on the Apple Developer Connection where it originated from.

    Edit: Interestingly after a quick Google I found a working download link for it. http://livetube.cc/testing/osx/ it's on that page direct link: http://livetube.cc/testing/osx/javase6release1dp6.dmg - I downloaded it on my PC and ran a virus scan on it and it didn't find anything wrong with it but then again that is on Windows, if it is dodgy it might be Mac specific. Would suggest you download and try it with extreme caution if you even want to.

    Edit edit:

    There's a post on this stackoverflow thread explaining how to install it on 10.5.
     
  10. eyoungren macrumors P6

    eyoungren

    Joined:
    Aug 31, 2011
    Location:
    Phoenix • 85037
    #10
  11. Hack5190, Nov 13, 2015
    Last edited: Nov 13, 2015

    Hack5190 macrumors 6502a

    Hack5190

    Joined:
    Oct 21, 2015
    Location:
    Stuck on Earth in the USA
    #11
    Downloaded OpenJDK 7 (http://landonf.bikemonkey.org/stati..._darwin/openjdk7-macppc-2009-12-16-b4.tar.bz2) last night. Decompressed it then added the path to the OpenJDK 7 bin directory at the front of the PATH variable.

    Checking the version from a command line (java -version) returns 1.7. Checking the browsers (http://www.egtry.com/javascript/info/version) - Safari (w/webkit) reports "javascript version=1.7" while TenFoxFour reports "javascript version=1.5".

    At some point I'll change the links in "/usr/bin/", "/Library/Internet Plug-Ins/" and "/System/Library/Frameworks/JavaVM.framework/Versions/" (from 1.5) to OpenJDK. That should fix TenFoxFour.

    In case the link for OpenJDK 7 stops working, I've placed the file on DropBox.
     
  12. Hack5190 macrumors 6502a

    Hack5190

    Joined:
    Oct 21, 2015
    Location:
    Stuck on Earth in the USA
    #12
    Turns out that "CommandLine is currently the only capability OpenJDK supports" (http$://wiki.openjdk.java.net/pages/viewpage.action?pageId=12451856).

    After changing the install directory name and removing it from PATH, Safari (w/webkit) still reports "javascript version=1.7".

    Sorry for the false alarm :oops:
     

Share This Page