A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Executing a class in a Jar
Joined: Jan 05, 2001
Nov 12, 2002 10:29:00
I would like to execute a compiled class which is part of a jar from command line. The class has a main method.
Srihari Injeti<BR>SCJP2 MCP CIW
Joined: Sep 29, 2000
Nov 12, 2002 10:39:00
Create a manifest and get it into the jar also. The manifest is what gives the JVM a clue as to which class to look in to find the main method.
"JavaRanch, where the deer and the Certified play" - David O'Meara
Joined: Dec 10, 2001
Nov 12, 2002 13:24:00
You may want to take a look at
this introduction to creating an executable JAR file
How To Ask Good Questions
JavaRanch FAQ Wiki
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Executing a class in a Jar
org.hibernate.HibernateException: No TransactionManagerLookup specified
java.sql.SQLException: No suitable driver
how can we make a jar file
problem in developing jasper report in BEA workspace studio version 1.1 with weblogic server 10.0
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013