Solved

Jar file question

Posted on 2003-11-30
3
225 Views
Last Modified: 2010-03-31
does jar file have to be run on the computer that have JRE or JSDK installed on it?

can i run jar file on the computer that doesnt has JRE or JSDK? if yes, how?
0
Comment
Question by:JAVAnewbie
3 Comments
 
LVL 4

Expert Comment

by:Howie_Ly
ID: 9847985
You can't as far as i am aware.

0
 
LVL 92

Expert Comment

by:objects
ID: 9848058
Java classes need a VM to run on. If you don't have one installed you cannot run them.
0
 
LVL 24

Accepted Solution

by:
sciuriware earned 25 total points
ID: 9848486
So, JRE is the minimum, AND of the right version!!!!
: you can't run a .jar created with JAVA 2 1.4.2 stuff on a machine with only some old 1.2 version.
Because almost every computer you may encounter has at least 1.1 (MSWindows, MAC, LINUX ...)
you might write some tiny JAVA program, targeted on 1.1 that spawns "java -version" to see
if things are up level.
In most cases you can have the right JRE installed beneath the old version if management wants it
to remain there.
;JOOP!
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 97
Java Jpanels and Jframe 8 33
HSSFWorkbook cannot be resolved error 10 71
table example 4 29
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

809 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