Power Developer

IBM Java 1.4.2
Page 1 of 1

Author:  hawk [ Wed Oct 19, 2005 3:01 pm ]
Post subject:  IBM Java 1.4.2

Hello! I was trying to emerge ibm-jdk-bin after I got the tgz file from IBM. The file size differs from the digest, so I edited it manually to fool portage ... ^^; This is my digest-ibm-jdk-bin-1.4.2 first line:
MD5 9694079119ce541fc31c315b8cc10ce5 IBMJava2-SDK-142.ppc.tgz 59777026
It seems it's properly installed, but the graphics apps won't wrok. I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment

Am I missing something? Has it something to do with the jit? I tried disabling it, but it's the same...

Thank u!

Author:  SeJo [ Fri Dec 09, 2005 4:02 am ]
Post subject: 

hey the message you get from an application is because the application is for jdk 1.5.
a handy way to know that is this:
up untill 1.5 awt was placed here: java.awt.X11GraphicsEnvironment
now it's sun.awt.X11GraphicsEnvironment

the packages have changed, so it's better that you install the 1.5 and use that one for testing (it's hard masked though)
unmask it and emerge it, works great here :-)



Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group