LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mageia (https://www.linuxquestions.org/questions/mageia-97/)
-   -   jar command not found (https://www.linuxquestions.org/questions/mageia-97/jar-command-not-found-4175500749/)

joep1932 04-06-2014 07:53 AM

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

evo2 04-06-2014 08:02 PM

Hi,

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

unzip unixmacosx.jar
HTH,

Evo2.

Tadaen 04-07-2014 10:06 AM

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

joep1932 04-12-2014 07:02 AM

Quote:

Originally Posted by evo2 (Post 5147823)
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


All times are GMT -5. The time now is 12:08 AM.