LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2015, 05:47 PM   #1
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Rep: Reputation: 28
Explain Java Errors on Application Start


Running Slackware-14.1 here with openjdk--7u85_b01.

Trying to run Open ModelSphere-3.2 (a BMP/URL modeling tools). The developers work only on Windows and use Oracle's Java. I get errors when I try to load the application and would appreciate someone explaining them to me and suggesting how to fix the problem(s) they indicate.

$ java -jar modelsphere.jar
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.modelsphere.sms.international.MiscResources, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)
at org.modelsphere.jack.international.LocaleMgr.findResourceBundle(Unknown Source)
at org.modelsphere.jack.international.LocaleMgr.getRes(Unknown Source)
at org.modelsphere.jack.international.LocaleMgr.getString(Unknown Source)
at org.modelsphere.sms.Application.<clinit>(Unknown Source)

Also, there is no openjdk-8 yet. Can I install Oracle's JDK-8 along with the existing openjdk-7?

Rich
 
Old 08-02-2015, 11:08 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,291

Rep: Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323Reputation: 1323
The Java ResourceBundle code can't find the file org.modelsphere.sms.international.MiscResources.properties. Is it in your class path?
 
Old 08-03-2015, 08:43 AM   #3
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
I don't know.

The application is installed in /opt/Open_ModelSphere_971/. In that directory is modelsphere.jar, and with that directory as the cwd I issue the command 'java -jar modelsphere.jar' which produces the errors I posted.

The file, MiscResources.properties, is in the path you presented:
/opt/Open_ModelSphere_971/resources/org/modelsphere/sms/international/

The files in that subdirctory are:
ActionResources.properties MiscResources_fr.properties
ActionResources_fr.properties ScreenResources.properties
DbResources.properties ScreenResources_fr.properties
DbResources_fr.properties Terminologies.properties
MessageResources.properties Terminologies_fr.properties
MessageResources_fr.properties resources/
MiscResources.properties

with the last file in the left column being the one apparently not found.

If there is a way to pass that path on the command line, or by an environment variable, please teach me how to do this.

Thanks,

Rich
 
Old 08-03-2015, 10:31 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,987

Rep: Reputation: 7889Reputation: 7889Reputation: 7889Reputation: 7889Reputation: 7889Reputation: 7889Reputation: 7889Reputation: 7889Reputation: 7889Reputation: 7889Reputation: 7889
probably you need to set classpath, or there should be an executable or something to start that app (instead of manually configuring java).
 
Old 08-04-2015, 08:21 AM   #5
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
I found an alternative application (also written in java) that works well so I removed the problematic application. Makes more sense to move on with a working tool rather than fight to get one going when I don't know that it would be any better.

Thanks, all,

Rich
 
Old 08-31-2015, 03:57 PM   #6
jankoh
LQ Newbie
 
Registered: Aug 2015
Posts: 1

Rep: Reputation: Disabled
alternative application

Quote:
Originally Posted by rshepard View Post
I found an alternative application (also written in java) that works well so I removed the problematic application. Makes more sense to move on with a working tool rather than fight to get one going when I don't know that it would be any better.

Thanks, all, Rich
Hi, please share the information about alternative application. I would like to try it.

Thanks, Janko
 
Old 09-01-2015, 05:15 PM   #7
rshepard
Member
 
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 435

Original Poster
Rep: Reputation: 28
Janko,

It's Modelio <http://www.modelio.org/>. Provides UML and BPM tools. You can use as much or as little as needed.

Rich
 
1 members found this post helpful.
Old 09-02-2015, 12:27 AM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,324
Blog Entries: 24

Rep: Reputation: 4269Reputation: 4269Reputation: 4269Reputation: 4269Reputation: 4269Reputation: 4269Reputation: 4269Reputation: 4269Reputation: 4269Reputation: 4269Reputation: 4269
Quote:
Originally Posted by rshepard View Post
Janko,

It's Modelio <http://www.modelio.org/>. Provides UML and BPM tools. You can use as much or as little as needed.

Rich
Thanks for the link. I recognize this from some previous exposure, not sure where, but is it maybe a rebranded commercial product I knew by another name?

Anyway, downloaded and ran it while in scope of my limited attention span...

It is a pretty nice basic UML drawing package, but the modules are not free... C++ support comes to something around $800 if I am reading it correctly.

I ran the 3.3 version with Oracle JDK 8u60 and found a few things that did not work on my system - save drawing to file for one. There were quite a few clicks that seemed dead or not correct result. Could be required libs not installed on my 14.1 Slackware, but no useful errors that I noticed.

So I ran the 3.2 version with JDK 7u45 (also with JDK 8u60) and it actually worked pretty well, at least judging by limited first impressions. I think as a UML drawing generation tool it might be pretty helpful. Not so sure about full project implementation.

But there is one major impediment to fitting into my own workflow - all project data must be saved under a single "workspace" directory which is owned by the application by default. You can change the workspace location, but not per-project. It has a very window$-ish feel in that respect.

Also, I see no way to import XMI, although you can export it - major hurdle as well.

Anyway, useful tools such as it is - thanks.
 
  


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] Can some one explain how to fix my errors for my example?? carlosk711 Linux - Newbie 8 09-23-2012 12:40 PM
KDE jar MIME is application/zip and not application/java-archive in Ubuntu Intrepid? arobinson74 Linux - Software 2 09-18-2009 11:40 AM
Explain me how to 'start up' wlan0 jonaskellens Linux - Hardware 1 11-04-2008 02:38 PM
can some one explain me this java boolean expression amolgupta Programming 4 05-11-2006 04:54 AM
align columns of strings and explain '\t' (java) dave bean Programming 3 01-10-2004 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 AM.

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