Dismiss Notice
You are browsing this site as a guest. It takes 2 minutes to CREATE AN ACCOUNT and less than 1 minute to LOGIN

How do I compile and run JAVA program in Window 7?

Discussion in 'Tech, Gadgets & Science Forum' started by Moseley, Nov 14, 2010.

  1. Moseley

    Moseley Senior Member

    #1
    Nov 14, 2010
    Joined: Jul 10, 2010
    Messages: 183
    Likes Received: 2
    Trophy Points: 35
    Hi?
    I need to know how can I compile and run a JAVA program in Window seven.. I was trying but I am unable to make it..


    - Firstly i installed the JDK 5 in my system..

    - I copied the path for the executable files (for the bin directory), and I pasted it in the environment variables paths

    - I created the simple java program. I used javac to compile, and java to run. The file name and program class name were the same, There were no error on compilig, but execution gave no output..

    Any cruel??
     
  2. 22nd

    22nd JF-Expert Member

    #2
    Nov 14, 2010
    Joined: Aug 1, 2010
    Messages: 498
    Likes Received: 4
    Trophy Points: 35
    wish i could help, im using window XP, and textpad to write my programs.
     
  3. Mtazamaji

    Mtazamaji JF-Expert Member

    #3
    Nov 14, 2010
    Joined: Feb 29, 2008
    Messages: 5,972
    Likes Received: 27
    Trophy Points: 0

    google
    it

    Nadhani kwenye windows kuna path ya kufanya setting/edditing ili mambo yawe sawa So hakikisha path zako za java ziko sahihi.

    check this link if they might be of help



     
  4. Moseley

    Moseley Senior Member

    #4
    Nov 15, 2010
    Joined: Jul 10, 2010
    Messages: 183
    Likes Received: 2
    Trophy Points: 35
  5. Moseley

    Moseley Senior Member

    #5
    Nov 15, 2010
    Joined: Jul 10, 2010
    Messages: 183
    Likes Received: 2
    Trophy Points: 35
    Thanx mdau, for your concern
     
Loading...