answersLogoWhite

0

.java files can be opened using an IDE (like Eclipse or NetBeans) or with notepad.exe.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you convert the java file into JPEG file?

A java file it's only a text file. You can't convert a text file into a image file of any type. What you can do is open your java file in your editor an take an screenshot (you must have a key with the label 'print screen' in your keyboard) then open open some image editor like paint and finilly paste and save your image. Or you can chage the java extention for jpg in your java file and have fun trying to open it (sarcasm, don't do it).


What is the java file in java?

The java file has the actual JAVA code present in it,..i.e the entire coding is done in that file.. you can view it using any text editor.. After compiling it you get a class file of every class present in the java file When you open a class file in a text editor, you won't see anything that makes sence. You won't find the original code that you wrote in the java file. That is because a class file is a product of the compilation of a java file.


How do you open a class file?

A (java) class file was not be made to be opened and modified by hand for the users. A class file is the resulting byte code of your java file compilation. This class file can be interpretaded for any jvm. To run your java class you only need to write these instructions in your command line. java [ options ] className [ arguments ... ] java -classpath D:\myprogram MyFileName one two three


How do you open a do file on a Mac?

A .do file is a Java servlet and should play in the Safari web browser on a Mac. Make sure you have Java enabled in the Security settings of Safari's preferences.


How do you open class files on windows 7?

right click on the class file ,go to properties and change open with to notepad, and then it can be opened.. :) While that may work, it is almost impossible to read as it is. What I suggest is downloading a java decompiler, then open it with that. It will convert it to what you would see in a .java file, which you are able to read if you know java programming.


How do you compile your java code?

save it into a .java file. then open command prompt and navigate to your java bin directory. then type CD then your java bin directory. then type this . javac ProgName.java


When java uses compiler?

What i know is java we will use compiler when it want to get class file(file with .class extension) from java file(file with .java extension).


How do you open chm file in Java programming?

Hi,Using desktop class u can open the .chm or any other kind of file that was in your computer.Desktop.getDesktop().open( new File("D:/Documents and Settings/ Document.chm"));Don't forget to include the line import java.awt.Desktop;This class is available with Java 6 updates.Java rocks!!!


How java program can run in windows7?

You must have a java runtime environment (JRE) installed to run a jar file .. if it is not a jar ( or it is a class ), you should have the java development kit or JDK .. if the file you are running is a jar file, just double click it. if the file you are running is a class file ex. "MainProg.class" then go to the bin directory, and open command prompt and change to that directory. then java MainProg.class it should run ..


What is the default program to open a jar file to execute a program?

You can open jar files with command prompt, Winrar or java.


How do you open java files on emac10.2.8?

I'm not sure what version of emacs I'm using, but when I go to select a (JavaScript) file, I just click the open button, then at the bottom of the window, you will see it read: file '/' (Let's say your java file is hello.java placed under /home/) you would type /home/hello.java to open it. It should work.


What type of file is created by Java?

Java created a file called class, and is identified by having the .class at the end. This file includes a Java bytecode, which then can be used on the Java Virtual Machine.