Hosting Manual
  • Hosting Reviews
    • A2Hosting Review
    • Bluehost Review
    • GreenGeeks Review
    • Hostinger Review
    • Inmotion Hosting Review
    • Siteground Review
  • SLA & Uptime Calculator
  • Services
    • WordPress Migration Service
    • WordPress SEO Optimization
    • WordPress Speed Optimization
  • Domain Search
  • Search
  • Menu Menu
Blog - Latest News
Using the Java Compiler

Using the Java Compiler

January 30, 2013/in Managing a Web Hosting Account /by Coty Lance

So you’ve written (or downloaded) java code and you need to compile it. Easy enough.

    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 many servers due to security issues.

People love this page. Share it!
  • Share on Facebook
  • Share on Twitter
  • Share on WhatsApp
  • Share on LinkedIn
  • Share by Mail
https://www.hostingmanual.net/wp-content/uploads/2016/11/using-the-java-compiler.png 313 862 Coty Lance https://www.hostingmanual.net/wp-content/uploads/2016/11/hm-logo12.png Coty Lance2013-01-30 20:49:392017-03-23 10:32:04Using the Java Compiler
HostingManual.net · Contact · Terms of Service · Affiliate Disclaimer · Review Policy · Sitemap (xml)
© Copyright 2018 HostingManual.net
Creating Custom Error Messages With .htaccess Creating Custom Error Messages With .htaccess Using Miva Empresa (HTMLScript) Using Miva Empresa (HTMLScript)
Scroll to top