Find the answer to your Linux question:
Results 1 to 3 of 3
i installed the java runtime environment 1.4.2 version 10.i am very much new 2 linux.i still have many doubts to be cleared.but for now how 2 run java programs. is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2005
    Posts
    176

    to run java programs


    i installed the java runtime environment 1.4.2 version 10.i am very much new 2 linux.i still have many doubts to be cleared.but for now how 2 run java programs.

    is it very much similar 2 the java in windows.i mean is there a necessity to set the path as in windows.
    also we have to compile and interpret the program as of in windows.

    can we write the program in kwrite and have to save it with .java.

    plz help me. iam very much confused since i am new 2 llinux environment.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Code:
    man java
    man javac
    You can type up the code in any plain text editor, like kwrite, emacs, nano, etc.

  3. #3
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    How did you install java? Depending on how you installed it, the path may have already been set.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  4. $spacer_open
    $spacer_close

Posting Permissions

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