Results 1 to 2 of 2

Thread: Java Compile problem on Linux

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Location
    Ireland, Dublin
    Posts
    76

    Java Compile problem on Linux

    I have created a basic java file, HelloWorld.

    When I try to compile the program with javac in Linux the program does nothing, it just goes to a blank line and I have to press CTRL - C to stop it.

    Has anyone got any clue as to what is happening

    Regards

    IJ...

    PS I have set up the PATH, I have not setup the CLASSPATH, but I am not importinig any files the program looks like this

    public class LinuxTest
    {
    public static void main(String args[])
    {
    System.out.println("Hello World");
    }
    }

    to compile it I type javac LinuxTest.java
    ---------------------------------
    TopMan
    ---------------------------------

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Maybe javac is corrupted...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width