• Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Java 5?

Sign in to follow this  


Alright, I did it... I finally installed the Java 5 Developer Tools from Apple's ADC Member Site. Since I upgraded to Tiger a couple of weeks ago, I was finally able to run Java 5 programs, but I had not installed the proper developer programs.

Anyway, now I am faced with a decision, start programming int Java 5, or keep to 1.4.2? As it stands right now I would like to goto 5, but I am afraid that not as many people would be able to run my programs... Any suggestions here?
Sign in to follow this  


Recommended Comments

I just went to 5. I say, do it. People should have updated already. Plus, now you get the nice template-esque containers =D

Share this comment

Link to comment
It's your-happiness versus your players'-happiness. The lower you go, the more people will be able to play. However, if using 5 gets your hands on nice goodies that will make you more inclined to speed up development...

You'll make the right choice, I'm sure. ;)

Share this comment

Link to comment
IMHO, theres nothing of great advantage in 1.5 over 1.4. The main additions that are relevant to games are:
- Generics (which have ugly syntax, are error prone and don't change runtime performance any)
- Static import (again, no actual affect on runtime, just makes your source a little neater)
- Nanosecond timer (which would be handy, except most people should be using LWJGL which has had a high res timer since forever)
- A bunch of Java2D improvements (but these are under the hood, and require plenty of implementation-specific black magic to take advantage of them - again, most people should be using LWJGL).

Theres some library additions too, but they're irrelevant for games dev. 1.4 is a much more important version as it's got assert() and ByteBuffers (and to a lesser extent, fullscreen Java2d and BufferStratergy).

If you really want 1.5 language features like generics, you can use Retroweaver to compile 1.4 compatible class files. Rather smart. [grin]

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement