Results 1 to 2 of 2

Thread: Compiling java on ibook

  1. #1
    Join Date
    Mar 2010
    Beans
    20
    Distro
    Ubuntu

    Red face Compiling java on ibook

    Hi everyone,

    I just installed ubuntu 9.10 on my ibook G4 and now i am wondering: how would i compile .java files and run then in xterm? What packages would i have to install? What commands would i use to do the compiling and the running? Would i use the gcj?

    Thanks,

    jordan

  2. #2
    Join Date
    Jan 2008
    Beans
    Hidden!

    Re: Compiling java on ibook

    Java is included by default in Ubuntu. To compile and run a java program,

    Code:
    $ javac [javafile].java
    $ java [javafile]
    There are other compiling and running options, but those are the basics. Hope this helps!
    "Using Ubuntu is like gaining a +7 to your geek skill check roles."

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •