Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Odd behaviour ?  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all.
I am using winxp and I set the look and feel of my swing application to GTK.
when running my application inside eclipse, every thing is all right, but when running it outside eclipse, I got an exception that says :
unable to locate GTK (can't recognized GTK)!
any ideas about this odd problem ?
thanks.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Sun's Site


Note: The GTK+ look and feel was released in all versions of the 1.4.2 SDK. However, it was not included in the 1.4.2 JRE release for Microsoft Windows. If you are running the 1.4.2 JRE for Windows and wish to use the GTK+ look and feel, you need to download the 1.4.2 SDK. We expect GTK+ to be shipped for all platforms in future JRE releases.


Could it be that you are using the JRE's java.exe to run the app outside of eclipse instead of the JDK's java.exe?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!