I3ritnay
June 6th, 2008, 02:44 PM
Hi,
I have an Ubuntu linux machine, and am trying to install the Java EE SDK. I don't have gnome on this machine, so to get the SDK on there I used two methods: ftp and flash drive.
I put the bin file (from the download) in the usr/local folder just because. In that directory, I tried the following ways to run/execute the bin file:
(Before hand, I chomod +x the file)
1) ./path/to/java/ee/sdk
Error: Unable to execute ./path/to/java/ee/sdk: No such file or directory
(makes no sense because I can ls in that directory and I see the bin file)
2) sh ./path/to/java/ee/sdk
Error: Syntax error: "(" unexpected
3) /path/to/java/ee/sdk
(just typing filename)
Error: Command not found
4) /usr/local/path/to/java/ee/sdk
Error: Command not found
------
I tried many other things, that I can't remember or list. I cannot apt-get install the file because the java_ee_sdk is not in the repository. Maybe there is a way to add it or find a source? So, I had to get it off java.sun.com on another computer. I've tried this on two different machines, with two different versions of Ubuntu Linux, and received the same error, so I am not really sure what is going on here.
I have an Ubuntu linux machine, and am trying to install the Java EE SDK. I don't have gnome on this machine, so to get the SDK on there I used two methods: ftp and flash drive.
I put the bin file (from the download) in the usr/local folder just because. In that directory, I tried the following ways to run/execute the bin file:
(Before hand, I chomod +x the file)
1) ./path/to/java/ee/sdk
Error: Unable to execute ./path/to/java/ee/sdk: No such file or directory
(makes no sense because I can ls in that directory and I see the bin file)
2) sh ./path/to/java/ee/sdk
Error: Syntax error: "(" unexpected
3) /path/to/java/ee/sdk
(just typing filename)
Error: Command not found
4) /usr/local/path/to/java/ee/sdk
Error: Command not found
------
I tried many other things, that I can't remember or list. I cannot apt-get install the file because the java_ee_sdk is not in the repository. Maybe there is a way to add it or find a source? So, I had to get it off java.sun.com on another computer. I've tried this on two different machines, with two different versions of Ubuntu Linux, and received the same error, so I am not really sure what is going on here.