answersLogoWhite

0

How do you compile a program in jre?

User Avatar

Anonymous

15y ago
Updated: 8/17/2019

You don't. It's the program "javac" that does the compilation.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Can you compile an rsps with jre?

Little cheesecake


How do you make software from a simple java program?

You compile it.You compile it.You compile it.You compile it.


Is the JRE platform dependent?

True. Java source code is called "platform independent" because it runs on top of the Java Runtime Environment (JRE). In order for this to work, a special JRE must be created for the platform you want to run a Java program on.


Can you compile job in Unix prompt?

Depends on what you mean by a "job". You can compile a program.


How do you run and compile a java applet program?

One can run and compile a Java applet program by agreeing to the terms and downloading it. It is possible to get a compiler online that will compile and run Java programs.


If your java program says no compiler is available what does that mean?

It means you have not installed jdk and jre in your machine...


What is the command to compile a java program named Greetingsjava?

The command to compile a Java program is "javac", followed by the class name (file name).


What's the difference between JVM and JDK?

There are two main things you can download for Java: the Java Runtime Environment (JRE) and the Java Development Kit (JDK). The JRE is used by those who wish only to run Java programs. In order to do this it uses the Java Virtual Machine (JVM) to run Java bytecode. The JDK is used by developers and contains both the JRE and the programs and libraries needed to compile and run Java programs. Simple summary: The JDK contains the JRE which contains the JVM.


Which characteristics of java makes possible to compiled code to be executable on many processors?

Its not the processor that it is compatibal with. The JRE runs java on most major oporating systems. The JRE sends the execution data to the OS which then has the processor process the data, then execute the resaults. The JRE uses the OS to execute the program.


What is difference between jdk and JRE?

Age old question. :) Simply Put: - If you need to execute any java program you need JRE (as the name says "Runtime Env"). - If you need to compile some java code you ll need JDK (as the name says "Development Kit"). One more thing to be noted is JRE will always be shipped with JDK because as I mentioned earlier JDK compiles the code, so if you want to execute the compiled code you need JRE. Hope this helps. . The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software. The "JRE" is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs. Typically, each JDK contains one (or more) JRE's along with the various development tools like the Java source compilers, bundling and deployment tools, debuggers, development libraries, etc.


Can you give a sentence with the word compile?

I had to compile a list of all the people who had seen the accident. Take these reports and compile a history starting with the oldest dates first. The doctor asked me to compile my medical history.


How is C program portable?

Your program is portable if you can compile and execute it on different platforms.