Solved

Creating a JAR File

Posted on 2006-11-22
3
226 Views
Last Modified: 2010-03-31
The basic format of the command for creating a JAR file is:
jar cf jar-file input-file(s)

I ran cmd
ran exactly as above but replaced with my file

jar cf quiz simplequiz.java

but receive an error 'jar' is not recognise.
do I have to run this command in the java installation folder? if so which one because there are so many
0
Comment
Question by:ishcmc
[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
3 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17999775
You need to add %JAVA_HOME%\bin to your path
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 17999782
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 18001451
:-)
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

615 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