appletviewer(1)

πŸ“¦ version 8.504.u01, in arch rolling

πŸ’– appletviewer πŸ’–

Basic Tools 🧚 manual page, so you know where this lives in the toolbox.


✨ NAME ✨

okay so appletviewer is the tool that runs applets outside of a web browser πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

appletviewer [options] url...
  • options β€” the command-line options, separated by spaces. Check out OPTIONS below πŸ‘€
  • url β€” where the documents or resources you want to display live. You can drop in multiple URLs, separated by spaces 🌸

🌈 DESCRIPTION 🌈

so the appletviewer command goes to the documents or resources at the urls you give it, and it pops each applet from those documents into its own window πŸͺŸ ngl, if the documents don't reference any applets using the OBJECT, EMBED, or APPLET tag, then appletviewer just... does nothing πŸ’€ for the HTML tags it supports, check out AppletViewer Tags at http://docs.oracle.com/javase/8/docs/technotes/tools/appletviewertags.html

the vibe here is that appletviewer needs encoded URLs that follow the escaping rules in RFC2396 πŸ”₯ only encoded URLs are supported. BUT file names have to stay unencoded, as RFC2396 says. iykyk πŸ™ˆ

Note: appletviewer is intended for development purposes only 🚨 for more info, see About Sample/Test Applications and Code at http://docs.oracle.com/javase/8/docs/technotes/samples/aboutCodeSamples.html

πŸ‘‘ OPTIONS πŸ‘‘

  • -debug β€” starts the Applet Viewer inside the Java debugger, using the jdb command, so you can debug the applets in the document 🐞
  • -encoding encoding-name β€” sets the encoding name for the input HTML file πŸ“
  • -Jjavaoption β€” passes the string javaoption as one single argument to the Java interpreter that runs the Applet Viewer πŸ’… the argument shouldn't contain spaces, and if you have multiple argument words, every single one has to start with the prefix -J. this is super useful for tweaking the compiler's execution environment or memory usage 🧠

Okay bestie, that's the whole tea β˜•πŸ«Ά This page is from JDK 8, dated 21 November 2013, and it's all about appletviewer(1) πŸ’œ bye bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from