Nov 03
17
- First, upload your .java source code using ftp. Remember to upload your code in ASCII format.
- Then, telnet to your account and log in.
- Navigate to the directory in which you uploaded your .java source code.
- At your telnet prompt, type:
javac yourcode.java
where yourcode is the name of the java source code you uploaded.
- Hit ENTER and a file named yourcode.class will be created.
If the above command does not work, try issuing the command using the full path to javac:
/usr/local/java/bin/javac yourcode.java
Please note that java servlets are not supported on our servers due to security issues.
Tags:compiler, how to use, java
Liked this article? To continue getting our latest free Howtos and Tutorials,
you can also grab the RSS feed or Subscribe to Techgurulive by Email
you can also grab the RSS feed or Subscribe to Techgurulive by Email
Not Getting
Related postsHow to verify that Java is running under Linux System
Java EE 6 web application (JSF 2.0 + JPA 2.0 + EJB 3.1) using Oracle, NetBeans and GlassFish
































