Missing Java Option for Developers

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Missing Java Option for Developers

Postby ralgith » May 30th, '13, 10:16

I'm kinda irritated that the Java 6 files were removed in Mageia 3 because it makes it extra difficult for those of us who need to support Java 6 (1.6.0 OpenJDK) and not Java 7 only. I'm currently a member of a project that requires their builds to be done on Java 6, and I can only install Java 1.5 and Java 1.5 via the package manager. What kinda silliness is that. If you're gonna drop 1.6, then 1.5 should be dropped as well in my opinion.

But... now that I'm done complaining, on to the heart of my issues. I've gone ahead and installed the last OpenJDK 1.6 from MGA2. However, when I try and build in eclipse with everything set correctly for 1.6 (if I debug) I get an error related to java.awt.Toolkit being the wrong version. Specifically I get "suspended (exception UnsupportedClassVersionError)", which means it is still trying to use something from the 1.7 OpenJDK. I'm just not sure what I missed. Hopefully someone with a little more knowledge on how to make these things peacefully co-exist can help me out here.

To wit, my current project specific settings in Eclipse point to the 1.6 JRE as they should. Compiler compliance levels are all 1.6, and the build path is set to the 1.6 JRE as well. Which was enough under MGA2.
ralgith
 
Posts: 53
Joined: Nov 3rd, '12, 00:03

Re: Missing Java Option for Developers

Postby ralgith » Jun 3rd, '13, 17:53

No one else uses Mageia to develop java software? C'mon guys, I need a hand here ;)
ralgith
 
Posts: 53
Joined: Nov 3rd, '12, 00:03


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest