• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Appletviwer

Carlis

Senior member
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?
 
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
 
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.
 
Back
Top