LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2012, 02:56 AM   #1
sam845
Member
 
Registered: Mar 2012
Posts: 55

Rep: Reputation: Disabled
java ubuntu problem


hello,

I'm trying to install umlet.
I have tried quite a lot of different configurations, but none worked.
Whether trying from the .jar itself (java -jar umlet.jar), whether using it as an eclipse plugin, or even trying wine umlet.exe, it always fails to load.
I think it might be caused by java itself, though I'm not sure.
I have tried both openJDK and the legacy java, but none worked.
java -version returns openJDK 1.6.

From eclipse, the error returned is:
Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor's class name was mistyped in plugin.xml.

From java -jar umlet.jar, the error is:
23 | ERROR | com.baselet.control.Main - "Initialization or uncaught outer Exception"
at java.awt.HeadlessException
[at ... etc...]

From wine, the error is wine: Install Mono for Windows to run .NET 2.0 applications.

I am looking for any solution that would make that software work.

Please help.

Thanks.
 
Old 06-04-2012, 03:47 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
http://www.umlet.com/changes.htm

Example "UMLet 11.5.1 stand-alone" > umlet_11.5.1.zip
http://www.umlet.com/umlet_11_5_1/umlet_11.5.1.zip

cd Umlet/ && sh umlet.sh : The UMLet GUI application opens OK.

.
 
Old 06-04-2012, 03:49 AM   #3
sam845
Member
 
Registered: Mar 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Well for me it doesn't:
sh umlet.sh gives the same error as java -jar umlet.jar:
27 | ERROR | com.baselet.control.Main - "Initialization or uncaught outer Exception"
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Window.<init>(Window.java:476)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:174)
at com.baselet.gui.standalone.StandaloneGUI.init(StandaloneGUI.java:161)
at com.baselet.gui.BaseGUI.initGUI(BaseGUI.java:63)
at com.baselet.control.Main.init(Main.java:118)
at com.baselet.control.Main.main(Main.java:106)
 
Old 06-04-2012, 04:30 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Example Ubuntu 12.04 :
http://www.ubuntubuzz.com/2012/01/su...talled-on.html
sudo apt-add-repository ppa:flexiondotorg/java
sudo apt-get update
sudo apt-get install sun-java6-jdk

UMLet 11.5.1 stand-alone :
cd Umlet/ && sh umlet.sh : Same OK result.

.
 
Old 06-04-2012, 10:27 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,865
Blog Entries: 28

Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
Java - Community Ubuntu Documentation - https://help.ubuntu.com/community/Java#Oracle_Java_7
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 10:04 AM
java path,classpath problem on ubuntu 9 n3mbers Ubuntu 1 08-16-2009 06:13 AM
Java | Ubuntu 8.04 | java.awt.HeadlessException akuma_linux Linux - Newbie 3 01-06-2009 10:27 AM
Ubuntu 7.10 64bit - how to set java path to/redirect java to libjvm.so ? Thane Ubuntu 1 03-25-2008 05:52 PM
java jdbc and ubuntu problem trscookie Programming 2 01-21-2007 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration