This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Debian + J2RE1.41: Can't run JAR-File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Debian + J2RE1.41: Can Watch "Debian + J2RE1.41: Can New topic

Debian + J2RE1.41: Can't run JAR-File

Sven Bolt

Joined: Dec 05, 2002
Posts: 4
when I try to run a XML-Editor by
"java -jar xmpro2.jar" I get (these are just the first few lines):
UIDefaults.getUI() failed: no ComponentUI class for: javax.swing.JPanel[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=null,alignmentY=null,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
at javax.swing.UIDefaults.getUIError(
at javax.swing.UIDefaults.getUI(
at javax.swing.UIManager.getUI(
at javax.swing.JPanel.updateUI(
at javax.swing.JPanel.<init>(
Any ideas what to do?
Thank you
Sven Bolt
Sven Bolt

Joined: Dec 05, 2002
Posts: 4
to everyone with the same problem: installing java-common should solve it.
Sven Bolt
I agree. Here's the link:
subject: Debian + J2RE1.41: Can't run JAR-File
It's not a secret anymore!