Chris Campbell wrote:
> Hi Garrett,
>
> On Oct 17, 2006, at 10:33 AM, Garrett D'Amore wrote:
>> I'm trying to use the GTK+ L&F with a wifitool Java application I
>> developed (which needs to evolve towards the new Sun wificonfig, and
>> then maybe can be given back to Solaris, but that's a different
>> conversation), and I notice that I get the following errors (I'm using
>> Xsun with a m64 framebuffer):
>>
>> /usr/share/nimbus/gtk-2.0/gtkrc: Engine "nimbus" is unsupported,
>> ignoring
>>
>> I'm no GTK wizard, but it seems like this error is not helpful.
>
> I assume you're running your app with JDK 5?

I'm using whatever JDK/JRE is in b49.

java -version reports :

garrett at sparcle{22}> java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing)

>
> Swing's GTK L&F was rather simplistic in the JDK 5 release and did not
> support all possible GTK engines, particularly the new Nimbus theme. 
> In JDK 6, the GTK L&F was rewritten so that it can support many more
> GTK engines, and as such Nimbus is now supported.
>
> Try running with JDK 6 instead (I don't have a snv build handy at the
> moment, but I think there should be a recent build of JDK 6 installed
> by default).

snv_49 /usr/bin/java uses 1.5.0_08.

I see that there is /usr/jdk/jdk1.6.0/bin/java, so I'll try that.

Thanks.
>
> Thanks,
> Chris


-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191


Reply via email to