PDA

View Full Version : Java 1.5 in Java Studio Creator 2




Mernak
Feb 26, 2008, 10:24 PM
I can't figure out how to set java 1.5 as the default language in Java Studio Creator 2, so I was wondering if anyone could help me. I have tried looking in the options, even the advanced one, but the only thing that I thought might work was adding "target=1.5" but that did not do anything. The reason is that I use System.out.printf(), but Java 1.4 doesn't support it, so each time I try to compile, it gives me an error, even though it compiles fine from the command line. Any help would be appreciated, thanks.

P.S. Never mind, got it to work with changing the project.properties to use 1.5 instead of 1.4