Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  New JDK and JRE Full with Mac OS X support  (Read 2704 times)
0 Members and 1 Guest are viewing this topic.
Offline Grunnt

JGO Kernel


Medals: 95
Projects: 8
Exp: 5 years


Complex != complicated


« Posted 2012-08-15 06:42:44 »

With this release, Oracle is providing full availability of Java SE 7 Update 6 on Mac OS X, including the Java Runtime Environment (JRE) and the Java Development Kit (JDK), as well as the JavaFX 2.2 rich client platform and JavaFX Scene Builder.

http://www.oracle.com/us/corporate/press/1735645

Sounds cool doesn't it?

Offline princec

« JGO Spiffy Duke »


Medals: 435
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2012-08-15 08:37:45 »

Mac OS installer has a number of issues I'm reading about. Not bad for a first cut but really I think its main use will be in embedded JREs now rather than as a separate install.

The ARM JDK (yes, did you notice it?) is broken on Raspberry Pi because it's been built with softfp instead of hard. Doh. Hopefully RPi foundation are chasing them about this.

Otherwise very enthused about JavaFX getting H264.

Cas Smiley

Offline delt0r

JGO Knight


Medals: 30
Exp: 18 years


Computers can do that?


« Reply #2 - Posted 2012-08-15 08:41:59 »

JavaFX is getting H264... cool... only you need to pay license fees to distribute *content* in that format with a game. Its only free for free web streaming.

Technically speaking of course.

I have no special talents. I am only passionately curious.--Albert Einstein
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gouessej
« Reply #3 - Posted 2012-08-15 08:51:40 »

Hi

The ARM JDK (yes, did you notice it?) is broken on Raspberry Pi because it's been built with softfp instead of hard. Doh. Hopefully RPi foundation are chasing them about this.
Why not using OpenJDK on Raspberry Pi as Xerxes did during our BOF session at Siggraph 2012?

Offline princec

« JGO Spiffy Duke »


Medals: 435
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2012-08-15 09:19:38 »

The cacao VM won't start up - some Java exception about security hashes not matching - the JamVM is 450x slower than my desktop - and the IcedTea Zero VM is 950x slower than my desktop. Measured. I need better performance frankly. Last time I used the Sun JRE on ARM it was blinding fast.

Cas Smiley

Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #5 - Posted 2012-08-15 20:09:16 »

I was trying to use JDK 7 to run the Tekkit server (a mod for Minecraft) and amusingly enough running the client in Java 7 crashes, and I can't run the server in Java 6. Hm...  Clueless

See my work:
OTC Software
Offline gene9

Senior Devvie


Medals: 10



« Reply #6 - Posted 2012-08-17 16:54:59 »

JavaFX: This is the best GUI framework for workstation GUIs, but that's a really shrinking niche. This isn't useful for games at all.
Java 7: Tons of minor improvements on Java 6. A lot of runtime cleanup, newer File I/O APIs, and InvokeDynamic lays the groundwork for future improvements.
Mac/Win/Linux: Finally. Now Java 7 and JavaFX have full, real parity on all major workstation platforms: Mac/Win/Linux.

I'm disappointed that they haven't been improving the pipeline for creating OpenGL apps and don't seem to have any intentions of doing so. Likewise they haven't been participating at all in smartphone app development, however this is the first time I've seen them mention embedded support in a while.

Java 8 has some really major improvements coming: lambdas (finally!), major VM enhancements (JRockit integration, no permgen), major library improvements (collections are a big one, date/time is smaller but very needed). I'm glad Java 8 already has full Mac/Win/Linux parity in it's milestone builds.
Offline xranby

Senior Newbie


Medals: 4



« Reply #7 - Posted 2012-08-28 13:08:04 »

The cacao VM won't start up - some Java exception about security hashes not matching
This is a known issue.
Cacao only work well for armel and OpenJDK-6. Speedwise its quite good especially on low end arm systems like the Raspberry Pi.

- the JamVM is 450x slower than my desktop
How is JamVM to drive OpenGL intense application on your desktop?
When i test JamVM on arm its then Oracle is only 4x faster.

- and the IcedTea Zero VM is 950x slower than my desktop.
Measured. I need better performance frankly. Last time I used the Sun JRE on ARM it was blinding fast.

I will below try to give a honest and colorful view on the speed difference between the Oracle JVM on ARM and all current FOSS options.

It is a common mistake to expect that the speed of zero on the desktop will match the speed of zero on ARM
especially because we are maintaining some addons for Zero inside the IcedTea project
1. an assembler optimized main loop for zero on arm. and
2. we maintain a thumb2 jit also for arm.
You can tell if you run the assembler optimized and thumb2 jit enabled version if your java -version output if it say Zero *Mixed-mode*
of course if we test on the Pi then we can only use the assembler optimized interpeter.
Zero interpreted-mode is what you run on the desktop.

Testing on "high" end armv7 cortex-a9 pandaboard
I have bench marked the speed difference between Zero on ARM and the current hotspot found in the Oracle JRE and JDK by using the DaCapo-9.12-bach benchmark.

Clearly the Oracle C1 and C2 jit are doing a great job, especially for the sunflow raytrace benchmark. On most of the benchmarks Zero is "only" 2.5 times slower.

Testing on "low" end armv6 raspberry pi
The raw numbers:

Relative performance compared to the zero interpreted-mode:


For best results:
Use ahead of time compilation using GCJ on the Pi running armhf.
For good results try:
Oracle JDK 7u6 on armel.
CACAO gives good results for armel and openjdk-6.
Avian also gives good results for armhf and openjdk-7.
JamVM gives ok results for armhf and openjdk-6/7.

The montecarlo benchmark is interesting, here the Oracle JDK clearly got an advantage by being 4 times faster compared to all FOSS options.

For running OpenGL ES 2 content all the JVM can render some spinning gears at 60fps fine without stuttering on the pi in 1980x1080 reolution using JOGL on the Pi.
I will try post a benchmark measuring CPU load using the various JVM options when doing so.

Oh right. sorry for hijacking this Mac OS X thread. :/

Cheers
Xerxes
Offline princec

« JGO Spiffy Duke »


Medals: 435
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #8 - Posted 2012-08-28 13:26:42 »

Great post xranby/xerces, please hang around and post more Smiley

My main goal is to get the bestest, fastest implementation of Java on the latest Raspberry Pi using hard float, and then have a think about getting LWJGL running on the device so I can experiment with game code.

Cas Smiley

Offline xranby

Senior Newbie


Medals: 4



« Reply #9 - Posted 2012-08-28 13:45:31 »

Great post xranby/xerces, please hang around and post more Smiley

My main goal is to get the bestest, fastest implementation of Java on the latest Raspberry Pi using hard float, and then have a think about getting LWJGL running on the device so I can experiment with game code.

Cas Smiley
Sounds fun!
Would it be possible to add a new sub forum "Java SE"  in the  Java on Mobile Devices forum?
There currently do not exist a good place for OpenGL ES 2 + Linux on mobile/embedded devices chats, we are running "javase" on these small devices.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline loom_weaver

JGO Coder


Medals: 17



« Reply #10 - Posted 2012-08-28 15:18:55 »

Great post xranby/xerces, please hang around and post more Smiley

My main goal is to get the bestest, fastest implementation of Java on the latest Raspberry Pi using hard float, and then have a think about getting LWJGL running on the device so I can experiment with game code.

Cas Smiley

I just got my Raspberry and I'm looking forward to writing games against it.  I've spent a lot of time using debian in the past so I'm familiar with that OS.  Once the JVM is working with hard-float on Raspian I'll make the switch over.
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 842
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #11 - Posted 2012-08-28 17:02:32 »

Would it be possible to add a new sub forum "Java SE"  in the  Java on Mobile Devices forum?
There currently do not exist a good place for OpenGL ES 2 + Linux on mobile/embedded devices chats, we are running "javase" on these small devices.
You are correct in that that category is missing. Having said that, there are an infinite number of missing categories on this forum. Smiley

Once there is considerable number of threads regarding that topic, I will create a sub forum for it and move all related threads to their new cozy home / hideout. In the meantime, the [OpenGL Development] sub forum seems a good fit.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline gouessej
« Reply #12 - Posted 2012-08-28 17:56:21 »

using [size=70pt]JOGL[/size] on the Pi.
Sorry, I thought it was not big enough.

Offline sproingie

JGO Kernel


Medals: 202



« Reply #13 - Posted 2012-08-28 18:00:02 »

Sorry, I thought it was not big enough.

C'est ce qu'elle a dit.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (37 views)
2014-12-15 09:26:44

Mr.CodeIt (30 views)
2014-12-14 19:50:38

BurntPizza (61 views)
2014-12-09 22:41:13

BurntPizza (98 views)
2014-12-08 04:46:31

JscottyBieshaar (59 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (77 views)
2014-11-29 21:32:03

toopeicgaming1999 (138 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (37 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!