Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PJ2E exe problem

Posted on 2000-03-17
4
Medium Priority
?
285 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn different types of Android Layout and some basics of an Android App.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
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.
Suggested Courses

609 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