LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 09-02-2010, 01:34 PM   #1
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Rep: Reputation: 15
Trouble running Jarnal / Java


Hi,

I'm trying to run Jarnal for purposes of exporting notes from my e-book (Sony PRS-600) into PDFs. (Anyone interested in the details can check out http://www.mobileread.com/forums/sho...28795&posted=1)

There's a .deb for Jarnal available, which installs successfully, but trying to run Jarnal produces the following error message:

/usr/bin/jarnal: line 17: 4089 Aborted java -Xmx192m -jar ${JARNALDIR}/jarnal.jar -g -t ${TEMPLATESDIR}/templates/default.jaj "$1" "$2" "$3" "$4" "$5"

The Jarnal .deb is available at
http://www.dklevine.com/general/soft...arnal-down.htm

There's also a regular zip package available, and trying to run that after unzipping produces the following:

./jarnal.sh: line 14: 4418 Aborted java -Dfile.encoding=UTF-8 -Xmx192m -jar jarnal.jar -t templates/default.jaj "$1" "$2" "$3" "$4" "$5"

What's the problem?
 
Old 09-02-2010, 06:52 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Probably an incompatible java. ( A gcj java or openjdk ? IcedTea ? )
The sun java works OK with any of the jarnal versions : The GUI opens.

1) # apt-get install sun-java6-jre ( Or sun-java6-jdk )

2) # update-alternatives --config java
.... and then choose the "sun java".

'java -version' should then show : java version "1.6.0_20" etc.
....
 
1 members found this post helpful.
Old 09-03-2010, 11:27 AM   #3
jjonas
Member
 
Registered: Jul 2005
Location: Finland
Distribution: Arch Linux
Posts: 80

Original Poster
Rep: Reputation: 15
That did the trick, thanks!
 
  


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
Trouble with Java heathBobby Debian 9 02-02-2006 12:26 PM
Having trouble with Java KezzerDrix Mandriva 12 03-30-2005 09:06 AM
Trouble with Java a2b2c2d Linux - Software 2 10-04-2004 08:58 PM
Trouble w/java raysr Linux - Newbie 7 01-10-2004 02:24 PM
Having trouble compiling/running java on linux nejiron Linux - Software 12 11-11-2003 12:38 AM

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

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