Release Java PND

WizardStan

Mega GP Mania
Joined
May 24, 2008
Messages
16,733
Updated Sun/Oracle Java to 1.7.0_45.

Added the "jar" command to the installer so you can not only build java apps but package them as well.

Changed the package version to match the official Java version, because I was getting tired of trying to remember what the last version I'd updated it to was.

Let me know if there are any issues.
 

WizardStan

Mega GP Mania
Joined
May 24, 2008
Messages
16,733
I've updated the Oracle Java to 7.0_60.  Still no luck getting a more recent OpenJDK unfortunately.

If anyone is ever successful at cross compiling it I'll gladly include it.
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,423
Age
46
Location
France, near Lyon
I havdn't seen anywhere a ThumbEE option in current JDK build script. for the record, I have build JDK10 (2 days ago). And while it does work, it feel somewhat slower then 1.7 from Oracle. Well, the "jit" of Hotspot seems to take more time/ressource to trigger. After a while things gets smooth, but not at first (tested with bloodgdx).
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
8,423
Age
46
Location
France, near Lyon
Thumb mode is not ThumbEE... And it will not be an option of GCC here, it would be an option of Hotspot itself, to generate ThumbEE code instead of arm/thumb code.
[doublepost=1525698916,1525694659][/doublepost]
@ptitSeb : I actually had BloodGDX in mind when writing this post :)

According to the GCC manual, there's an "-mthumb" flag to change from ARM state to Thumb state, but I doubt this will be sufficient to generate ThumbEE code...

https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/ARM-Options.html#ARM-Options

Cheers, Magic Sam
On my side, I used Oracle Java 1.7.0.60 for my test on BloodGDX, and it was running fine.
If you want to try so jdk10, here is my latest build: jdk10.tgz (it's a "server" build, with hotspot, build for arm and vfp, and using softfloat, neon, O3, and all...)
 

Magic Sam

Forever Homebrew
Joined
Aug 10, 2007
Messages
2,221
Age
37
Location
Innsmouth, MA
Hi all :)

I'm not a fan of Amazon, but could Corretto be a nice option for the Pandora ?

https://github.com/corretto/corretto-8
Amazon Corretto is a no-cost, multi-platform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto is used internally at Amazon for production services. With Corretto, you can develop and run Java applications on Amazon Linux 2, Windows, and macOS.
Cheers, Magic Sam
 

Magic Sam

Forever Homebrew
Joined
Aug 10, 2007
Messages
2,221
Age
37
Location
Innsmouth, MA
Hi all :)

@levi : the only benefits I can see would be JDK8 support + bits backported from JDK9 and 10 (as per their github account).

Cheers, Magic Sam
 

Magic Sam

Forever Homebrew
Joined
Aug 10, 2007
Messages
2,221
Age
37
Location
Innsmouth, MA
@ptitSeb : I'm not 100% positive, but as Corretto is "just" a fork of OpenJDK8, if HotSpot is part of OpenJDK8, then I believe it should also be part of Corretto.

https://github.com/corretto/corretto-8/commit/5f6490cab7308df17b0dd603c56d73b333242c07

According to Wikipedia, HotSpot is GPL. If HotSpot is indeed absent from OpenJDK / Corretto source code for whatever reason, could IcedTea be a possible replacement ?

See this page regarding Zero and Shark :

https://en.wikipedia.org/wiki/IcedTea#Platform_support

Cheers, Magic Sam
 
Top