The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 19, 2019, 02:19:21 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: bash / pclinuxos  (Read 3168 times)
fibonacci618
Rookie
**
Offline Offline

Posts: 10


View Profile WWW
« on: January 18, 2008, 02:18:59 PM »

I thought to ask a linux question:

I am trying to install a program:
bash-3.1# jar xf unixmacosx.jar
bash: jar: command not found
bash-3.1#


the jar command has worked for me
on other versions but they dont say bash-3.1#
at prompt but rather have username and hostname
i know i iin mac it is java -jar xf unixmacosx.jar
but i have installed on other linux with
jar only.


what is this please?
Logged

No links in signatures please
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: January 18, 2008, 09:04:01 PM »

Looks like you just upgraded to Leopard - when I am sudo'd into su I get the same prompt - it's a little weird looking I agree.

If I type simply "jar" at the command line I get the help page. I did a quick look about and Apple claims that OS-X is one of the few OSs that come with a fully operational Java deployment by default, so I am confused about what's happening for you. Could it be a path issue? jar is supposed to be in /usr/bin and that directory should be in the path. if you type

find / -name "jar"

it might tell you where the executable is, and that'd give us more symptoms as to why it isn't working.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
fibonacci618
Rookie
**
Offline Offline

Posts: 10


View Profile WWW
« Reply #2 on: January 21, 2008, 12:11:37 PM »

thanks for the help.  i typed the command as stated but it did nothing and said nothin, just as it did with any other command i typed... returned me to the same bash prompt.  something funky is goin on with PcLinuxOS (not Leapoard) going into trash now?  perhaps!
Logged

No links in signatures please
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #3 on: January 21, 2008, 12:13:29 PM »

Perhaps he needs to make compile java if it can't find it?

I don't know, I'm very un-experienced when it comes to OSX.
Logged

hai
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #4 on: January 22, 2008, 10:06:24 AM »

Makes more and less sense now - I thought it was Leopard which was confusing... since it's not, I'll bet you're right VS and Java needs to be reinstalled.

http://www.java.com/en/download/index.jsp

Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!