LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mageia
User Name
Password
Mageia This forum is for the discussion of Mageia Linux.

Notices


Reply
  Search this Thread
Old 04-06-2014, 07:53 AM   #1
joep1932
LQ Newbie
 
Registered: Apr 2014
Location: Netherlands
Distribution: mageia4
Posts: 2

Rep: Reputation: Disabled
jar command not found


Hello there,
My question is simple: how to solve "jar command not found"?
I installed Mageia3 from DVD and upgraded to Mageia4. Succes confirmed after installation.

For the TWS platform from interactive brokers I need to install 'unixmacosx.jar'
To have the jar command available I unistalled icedtes-web contole pannel and installed the latest java rpm. I managed the plugin 'libnpjp2.so' into the plugin folder of firefox-24.4.0
and still the jar command is not available.
What did I wrong?
Please advise
Joep1932
 
Old 04-06-2014, 08:02 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

.jar files are just zip archives. You can unpack them with the unzip command. Try the following:
Code:
unzip unixmacosx.jar
HTH,

Evo2.
 
1 members found this post helpful.
Old 04-07-2014, 10:06 AM   #3
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
Unless it's supposed to be executable in which case first make it executable

Code:
chmod 755 /path/to/.jar
To run it is no jar but start with java...

Code:
java -jar /path/to/.jar

Last edited by Tadaen; 04-07-2014 at 10:07 AM.
 
Old 04-12-2014, 07:02 AM   #4
joep1932
LQ Newbie
 
Registered: Apr 2014
Location: Netherlands
Distribution: mageia4
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

.jar files are just zip archives. You can unpack them with the unzip command. Try the following:
Code:
unzip unixmacosx.jar
HTH,

Evo2.
Hi Evo2
Thanks. It worked fine. TWS login is an absolute must to me.
Joep1932
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message "Jar file 'mail.jar' was not found in the extended library directory" AussieAndrew Linux - Newbie 1 07-17-2013 01:40 PM
why is jar command not found? s0450776 Programming 11 09-08-2012 09:41 AM
[SOLVED] can not start jar app using symlink in different directory due to file not found! nocountryman Linux - Software 4 03-17-2010 04:11 AM
I got error with this command 'java -jar NodeView-v1.1.jar' mohdismiaswaly Linux - Software 3 04-23-2009 06:24 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 - Distributions > Mageia

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