LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java Error? (https://www.linuxquestions.org/questions/linux-software-2/java-error-453537/)

carlosinfl 06-10-2006 05:21 PM

Java Error?
 
Ok - I tried to install a P2P client called Frostwire which is a clone of Limewire connecting to the same network. The problem is that both Frost & Lime require Java. I thought I installed Java since I can see:

- Java 1.4 Plugin Control Panel
- Java 1.4 Policy Tool

When I try to launch Frostwire from "Applications > Internet > Frostwire", nothing happens to then I try and launch the application from a terminal window as root and user.

Code:

cwilliams@nucleus:~$ frostwire
: command not found:
: No such file or directory
: command not found:
: command not found3:
'unFrost.sh: line 24: syntax error near unexpected token `
'unFrost.sh: line 24: `look_for_java()
cwilliams@nucleus:~$ su -
Password:
nucleus:~# frostwire
: command not found:
: No such file or directory
: command not found:
: command not found3:
'unFrost.sh: line 24: syntax error near unexpected token `
'unFrost.sh: line 24: `look_for_java()

It seems to not like Java or can't see my version of Java. Can anyone assist me in getting this to work?

bathory 06-10-2006 05:53 PM

First make sure that you have java installed and it's in your PATH:
Code:

which java
. If you get nothing run
Code:

locate java
to see if you can find it in a directory not in your PATH. If not d/l and install the latest jre 1.5.06 and then make a symlink to the place you installed jre, i.e:
Code:

ln -s /path/to/jre/bin/java /usr/bin
Regards

mrcheeks 06-10-2006 06:45 PM

I just installed it and had the same problems.
Open the file unFrost.sh with a text editor like gedit/leafpad and convert the line delimiters to CL. The script must have been written in a windows environment.


All times are GMT -5. The time now is 02:56 AM.