A "java" loader script to apply some extra settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sun-java6-bin
This isn't really a bug report, just a place where I can post a script I made to fix some issues with java applications, the most important things imho are:
- It detects beryl or compiz running and if needed it applies the AWT_TOOLKIT workaround
- Set the default java style to GTK+ native (java6 supports it, so it should be used!)
- Read font aliasing KDE settings, and applies to the java apps
The latest two features I think that are much needed by KDE (kubuntu) users (like me) that now can have their java apps look like the rest of the desktop (thanks also to gtk-qt engine) with cool fonts.
This will be surely rejected, but I decided to post it here just to notify people that there's a way to fix some problems with java with few lines of bash...
Script file in next comment ;)
Changed in sun-java6: | |
status: | Unconfirmed → Rejected |
"java" Script attached.
To use it you simply should do: jvm/<your- java-dir> /jre/bin/ java /usr/lib/ jvm/<your- java-dir> /jre/bin/ java-bin jvm/<your- java-dir> /jre/bin/ java jvm/<your- java-dir> /jre/bin/ java
$ sudo mv /usr/lib/
$ sudo mv java /usr/lib/
$ chmod +x /usr/lib/
Now all will work like before but with optimized settings... Use "java -version" to check it ^_^
Also available at: http:// paste.ubuntu- nl.org/ 13114/
Bye...