LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-19-2009, 05:27 PM   #1
czubek
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:~$

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(ClassLoader.java :1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.jdesktop.jdic.browser.internal.WebBrowserUtil$ 1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native 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>(LSKInterface.java:194)
at mTC.LSKInterface$1.run(LSKInterface.java:171)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 597)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)

"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 libjdic.so into the LD_LIBRARY_PATH"

Only 3 libjdic.so 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
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,174
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Hi,

To do what the proposed solution says, you need to:
Code:
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
czubek
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.
 
  


Reply



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

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

All times are GMT -5. The time now is 10:41 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