LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java on linux (https://www.linuxquestions.org/questions/linux-software-2/java-on-linux-158354/)

Sherlock 03-16-2004 05:59 AM

Java on linux
 
i would like to run an applet in linux(RH9) .What is the equivalent command to appletviewer in linux.

Thanks for the info,
Sherlock.

aaa 03-16-2004 06:44 AM

appletviewer. The Windows & Linux versions of Java are quite similar.

Sherlock 03-16-2004 07:06 AM

Through the jdk for linux ,i can use the appletviewer utility(command) to run my applet.But here i want to run the applet using the GNU library provided utilities that come along with the RH9 OS.(EX:gcj-C for compiling the java file).i tried appletviewer command but it didint workout.

aaa 03-16-2004 08:18 AM

Maybe it isn't in your PATH:
echo $PATH
I don't think the java install puts it's programs in the path automatically. Try running 'appletviewer' on a command-line. If it doesn't work, then the java stuff probably isn't in your path. You can make symlinks (ln -s file linktofile) in your path, or add the java folder to your path. Find out where the java stuff is, and you can type it directly. ex:
/opt/j2sdk/bin/appletviewer


All times are GMT -5. The time now is 03:35 PM.