Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

.java files will not open?

Right, i'm just a simple beginner in java, but the main problem is, i cant open .java files!

help me out, do i need a 3rd party prog' to run it?

what do i need ? D:

3 Answers

Relevance
  • 10 years ago
    Favorite Answer

    you can open .java files in a simple text editor like Notepad or Wordpad... at the beginners level, that's all you need... to compile and run java programs, you need the Java Development Kit (JDK)... first install it and set up your environment variables.. instructions on doing that can be found here.. http://www.jibble.org/settingupjava.php

    to compile a java program, go to the command prompt and navigate to the folder where you saved your .java file and type in this>> javac YourFileName.java

    then to run your java program type in this>> java YourClassName

  • Anonymous
    10 years ago

    Java files are just raw code, or your source code if you want to get all technical. To run a Java applet, you first need to compile the source code in .java files either from the command line or with an IDE (Integrative Developing Environment) like Eclipse or Netbeans. If you have never used an IDE before, use Netbeans because the UI is user friendly and far less confusing compared to Eclipse. Since I take it you havent yet written a program, to open .java files to edit previous code, use Notepad++ or an IDE.

  • 10 years ago

    Make your life easier. Install the NetBeans IDE.

Still have questions? Get your answers by asking now.