How to use the Java Compiler

Tech Guru Add comments
12 views

  1. First, upload your .java source code using ftp. Remember to upload your code in ASCII format.
  2. Then, telnet to your account and log in.
  3. Navigate to the directory in which you uploaded your .java source code.
  4. At your telnet prompt, type:

    javac yourcode.java

    where yourcode is the name of the java source code you uploaded.

  5. 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.

Bookmark This

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

Not Getting



Leave a Reply



This Howtos posted under" Tech Guru

How to use the Java Compiler


Find Free Howtos and tutorials on apache, Linux, windows, php, Networking, MySQL, Cisco, open source, Nas, Virtualization, voip, vpn, email,send mail, lamp, security, SEO, squid, Anti virus, Backup, Database and many more