?
Solved

PJ2E exe problem

Posted on 2000-03-17
4
Medium Priority
?
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
Ravindra76 earned 200 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month8 days, 5 hours left to enroll

765 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