Appletviwer

Carlis

Senior member
May 19, 2006
237
0
76
Does osx ship with an appletviewer? How does one use it?
I have tried stuff like

appletviewer MyApplet

etc. How do I run applets in terminal?
 

TheStu

Moderator<br>Mobile Devices & Gadgets
Moderator
Sep 15, 2004
12,089
45
91
appletviewer?

What the deuce is that?
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
What do you get when you try to use it? On mine (10.4), it's installed right along side java:
$ ls -l /usr/bin/appletviewer
lrwxr-xr-x 1 root wheel 85 Jan 6 22:13 /usr/bin/appletviewer@ -> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/appletviewer
 

Carlis

Senior member
May 19, 2006
237
0
76
I see now that I have an appletviever in the location you specified. When I try 'appletviewer Linser.java' or "appletviewer Linser.class' , I get nothing at all. The terminal does not spit out anything, but sun.applet.main flashes for half a second in the bar in the top of osx where the current application is displayed. It works fine in netbeans and on the solaris system in my school... Hm.

Is there something wrong with my command? I also tried 'open Linser.class appletviewer' and also experimented with -a -J flags.