Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-19-2009, 05:27 PM   #1
LQ Newbie
Registered: Jun 2009
Location: Alliance College
Distribution: Ubuntu 9.04 64bit
Posts: 3

Rep: Reputation: 0
Can't launch a .jar java program

I'm new to LinuxQuestions and am hoping to get some help on a java program that I can't launch.

Trying to launch Lasyk's My Theme Creator linux distro. Unzipped file to yield 2 items: mTC.jar and lib folder. Notes say to keep lib folder with mTC.jar in same directory. Must have java 1.5 or greater. Terminal readout follows:

chris@hpdv5k:~$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)

chris@hpdv5k:~$ cd /home/chris/MCDApps/MTC
chris@hpdv5k:~/MCDApps/MTC$ java -jar mTC.jar
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no jdic in java.library.path
at java.lang.ClassLoader.loadLibrary( :1709)
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at org.jdesktop.jdic.browser.internal.WebBrowserUtil$ Source)
at Method)
at org.jdesktop.jdic.browser.internal.WebBrowserUtil. loadLibrary(Unknown Source)
at org.jdesktop.jdic.browser.internal.WebBrowserUtil. getDefaultBrowserPath(Unknown Source)
at org.jdesktop.jdic.browser.BrowserEngineManager.sel ectEngine(Unknown Source)
at org.jdesktop.jdic.browser.BrowserEngineManager.get ActiveEngine(Unknown Source)
at mTC.LSKInterface.initLSKComponents(LSKInterface.ja va:2447)
at mTC.LSKInterface.<init>(
at mTC.LSKInterface$
at java.awt.event.InvocationEvent.dispatch(Invocation
at java.awt.EventQueue.dispatchEvent( 597)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(
at java.awt.EventDispatchThread.pumpEventsForFilter(E
at java.awt.EventDispatchThread.pumpEventsForHierarch y(
at java.awt.EventDispatchThread.pumpEvents(EventDispa
at java.awt.EventDispatchThread.pumpEvents(EventDispa

"no jdic in java.library.path" seems to be problem. A solution proposed by a java forum said "For solaris/unix/linux, put folder contains into the LD_LIBRARY_PATH"

Only 3 exist on my puter in the following folders:
/usr/lib/jni, /usr/lib/frostwire and /home/chris/MCDApps/MTC/lib/linux/x86

My Theme Creator will not even launch. I don't want to screw anything up. I can't help thinking that the mtc lib must somehow be moved to the /usr/lib/... folder.

Anyone got any suggestions?
Old 06-20-2009, 02:02 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,819

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591

To do what the proposed solution says, you need to:
export LD_LIBRARY_PATH=/home/chris/MCDApps/MTC/lib/linux/x86:$LD_LIBRARY_PATH
before running "java -jar mTC.jar"
Old 06-20-2009, 08:45 PM   #3
LQ Newbie
Registered: Jun 2009
Location: Alliance College
Distribution: Ubuntu 9.04 64bit
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you for your reply. Yours and many other replies led me to the conclusion that the software is not compatible with 64 bit. I know the windows version works and will use on pc instead.


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
I got error with this command 'java -jar NodeView-v1.1.jar' mohdismiaswaly Linux - Software 3 04-23-2009 06:24 AM
package java program into .jar file rabbit2345 Programming 4 01-23-2008 07:41 AM
How to run JAR from within Java program ?! EAD Programming 1 12-31-2006 07:11 PM
How jar java program? treotan Programming 3 09-08-2005 12:03 AM
Fedora Core 1 Associating .jar files with java -jar command pymehta Fedora 0 01-13-2005 05:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:57 PM.

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