Solved

PJ2E exe problem

Posted on 2000-03-17
4
248 Views
Last Modified: 2012-06-27
even i use PJ2E exe  to change .class to exe.but it still need to run at java(jdk) installed pc.
why??
0
Comment
Question by:tmhong
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
Ravindra76 earned 50 total points
ID: 2627802


Either JDK or JRE must be present to run
java class or exe .

Java platform independency was achieved by having different javac ( java compiler) and java(executable file) for each platform.

In case of Windows , the scene is different.

They will run if Windows Operating system was installed on system.

Java has no platform or operating system dependency.

So the java compiler will generate a class file which can be executed on different platform with different jvms.

FOr Ex:

If U go to sun site, U can know

Java for Windows

Java for Linux

Java for solaris.


depending on these java vms, the java class file which is generated platform independent will run by using particular JVM on that platform.

So java must be present on the client system where it has to be run.

0
 

Author Comment

by:tmhong
ID: 2628254
so if using J++ can create an independent exe file that can run without jdk?

thanks
0
 
LVL 7

Expert Comment

by:Ravindra76
ID: 2630634
It will run on Windows
0
 

Author Comment

by:tmhong
ID: 2630741
thanks
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now