Security Software review and downloads
  • Home
  • Spyware & Spyware Remover
  • Registry & Registry Cleaner
  • Firewall
  • Hacked
  • Uninstall & Uninstaller
  • Antivirus

How can I write and execute java programs using only the basic vista tools?

October 7th, 2008 · 3 Comments

I want to write java programs on my computer, and I was able to get the .java extension to work using notepad (and my computer recognized it as a java file) but when i tried to compile it in the command prompt it didn’t work. Any ideas?
I have jdk, but I can't find javac.exe. I just re dl'd it and can't find it.

Related posts:

  • how to properly install java compiler for windows vista home basic..?? plz..help.
  • i have downloaded the development kit so called JDK.n also the documention..but still its...
  • How to start making Java programs (using JDK) in Mac OS X 10.4 (Tiger)?
  • In my previous notebook (Win XP), it was simple: download & install JDK 1.5; create a...
  • Can you write software for windows on a mac?
  • I'm interested in purchasing a MacBook Air. Basically I would use it for the basic...
  • J2EE Registry Properties?
  • Hi All, I'm trying to go through the J2EE Coffe Break tutorial (...
  • compiling error javac?
  • Ok so I have been messing with the path variables and trying to get my java compiler to...
  • I need to write a program for Vista that has to read/write files…?
  • What programming language should I use? I ran out of ideas. First, I tried to create a...
  • Accessing the Command Prompt in unactivated Vista?
  • Ummmm guys...my unactivated Vista just expired (I've been waiting on a friend who sold me...
  • How can I make a Vista screensaver work with Windows XP?
  • I've recently downloaded vista screen saver files that has a file extension of .scr....
  • I cant uninstall Java JDK or JRE?
  • I am trying to uninstall Java JDK and JRE from my computer. Sun's instructions for...
  • What's a fair amount to charge someone for about 8 hours of coding for a Firefox extension (JavaScript)?
  • I was recently approached to write some code for a Firefox extension with an offer of...

    Tags: Vista


    3 responses so far ↓

    • 1 Ahmed The Ninja // Oct 7, 2008

      You need a compiler and a virtual machine to compile and run java code.

    • 2 Mercuri // Oct 7, 2008

      The whole point of Java is that it requires a Java Virtual Machine (JRE) to run. On top of that, you need to compile the .java files into .class files to be able to execute them.

    • 3 Haagendasz // Oct 7, 2008

      Presuming you have the jdk installed, ensure that the path variable points to the directory where you have the “javac.exe” file.
      To set the path variable, go to control panel->system->advanced->environment variables->system variables->look for path (hit edit and add path to javac.exe). Restart your PC.

      Once you set this, it is a matter of compiling it like “javac yourfile.java” on the command prompt.

    Leave a Comment

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word

    Tags: Email Spam Uninstall spyware Security Software Trend Micro Registry Cleaner Pc Tools Norton Nod32 Kaspersky Internet Security Hacked Firewall Computer Security Avg Avast Antivirus Ad Aware Monitoring Software Encryption Backup


    A Slow System?
    Harassed by DLL errors?
    Plagued by constant Blue Screens?
    Receiving error messages and don't know why?

     
    • Most popular Software downloads

      • Pctools
      • kaspersky
    About | Contact Us | Old Sitemap Security Software review and download . All rights reserved PoweredBy Yahoo!API.