Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Jar Files

Posted on 2004-09-18
3
Medium Priority
?
333 Views
Last Modified: 2010-03-31
How would you take an existing application or applet and create a jar file to run on a web page?
0
Comment
Question by:HelpWithJava
  • 2
3 Comments
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 90 total points
ID: 12092576
You can only do that with an applet.

http://java.sun.com/docs/books/tutorial/jar/
0
 
LVL 92

Accepted Solution

by:
objects earned 160 total points
ID: 12098105
You can only run an applet on a web page so if you have an application you'll first need to convert it to an applet.

to make a jar use the command:

jav cvf <jarname> <classes>
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12163636
:-)
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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

972 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