Solved

Jar file question

Posted on 2003-11-30
3
232 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
[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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hashmap order 17 63
American Express @Work site and Java 4 97
Java array 10 87
Java ArrayList and if statement 2 55
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This video teaches viewers about errors in exception handling.
Suggested Courses

739 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