LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-03-2011, 04:19 AM   #1
tg3793
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 13 (Mate Edition)
Posts: 50

Rep: Reputation: 12
Running .jar files


I saw an old thread about this (written in 2006) but it didn't seem to help. My efforts below reflect the advice given in that thread:

I suppose the same principles should apply to running all java files. I can successfully run Jreepad from the command line using either of these two methods.

Code:
 java -jar ~/.jreepad/Jreepad-1.5.jar
 /usr/lib/jvm/java-6-openjdk/jre/bin/java -jar ~/.jreepad/Jreepad-1.5.jar &
However if I try to create a launcher (or more preferably a menu item) then nothing at all seems to happen.
 
Old 11-03-2011, 04:23 AM   #2
tg3793
Member
 
Registered: Jul 2009
Location: Philippines
Distribution: Linux Mint 13 (Mate Edition)
Posts: 50

Original Poster
Rep: Reputation: 12
And in case this helps; here is the results of my " java -version "

Code:
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.04.2)
OpenJDK Server VM (build 19.0-b09, mixed mode)
 
Old 08-24-2012, 06:23 AM   #3
SkarmoutsosV
LQ Newbie
 
Registered: Aug 2012
Location: Lagkadikia, Greece
Distribution: Debian 8 jessie
Posts: 12

Rep: Reputation: Disabled
Try to use full path instead of ~.

Replace ~/.jreepad/Jreepad-1.5.jar
with /home/username/.jreepad/Jreepad-1.5.jar
 
  


Reply

Tags
java, launcher, menu


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Running .jar Files Mostofi Ubuntu 4 09-28-2010 03:52 PM
Need Help with running a jar. files on my eeepc 4g specific help required! ineedhelprightnow Linux - Newbie 32 07-24-2010 06:56 AM
running .jar files computerages Linux - General 13 08-19-2006 08:59 PM
Fedora Core 1 Associating .jar files with java -jar command pymehta Fedora 0 01-13-2005 06:26 AM
Installing Java running jar files jariep Red Hat 1 04-12-2004 12:11 PM


All times are GMT -5. The time now is 08:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration