permaculture playing cards
The moose likes Mac OS and the fly likes how-to run app from Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "how-to run app from" Watch "how-to run app from" New topic

how-to run app from

Marat Kazey

Joined: Sep 06, 2008
Posts: 1
I need to run Java application from folder,
if I do it get error:
Bad exutable (or shared library)

I try:
open terminal
(get error: Bad exutable (or shared library))

Please, ask, maybe I need set some system variable,
how-to launch this application with ./app

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

"Marat Sh", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11778

Hi Marat,

Do the following steps work for you (and are they similar to what you want to have happen)?

Immediately after typing that last line, a terminal window opened on my computer - does it on yours? Is that similar to what you are trying to achieve?

[And no, I don't normally use Terminal for anything (I prefer iTerm) but at least it exists on all installations]

Regards, Andrew

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
I agree. Here's the link:
subject: how-to run app from
jQuery in Action, 3rd edition