A simple question:how to compile java applet in linux?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
A simple question:how to compile java applet in linux?
how to compile java applet in linux?
before now I just compile java applet in windows,the command is "javac.exe",but I want to
compile it in linux,what commmand should I use?I've tried "javac.exe",it says"command not found".
javac compile a ".java" to a ".class" file, regardless of its purpose: an application, an applet, both or none ...
This is true on both windows and other platforms including linux.
".exe" is for the most part windows specific. Executables in other operating systems generally will have no suffix. If the program "javac" is in your PATH (echo $PATH to check) then you can simple type "javac [program]" to compile it.
I would better say: not having a suffix for executables used to be Unix/Unix like specific.
Most (All?) other operating systems available at the beginning of Unix were using a suffix, ususally (.exe, .com, .bin).
Nowadays, most O/S are no more needing a specific suffix for executables, with the notable exception of DOS descendance, where this archaism is still present.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.