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

x
?
Solved

Creating a JAR File

Posted on 2006-11-22
3
Medium Priority
?
234 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
  • 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 2000 total points
ID: 17999782
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 18001451
:-)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
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…
Suggested Courses

916 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