- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Java: How to run .jar files
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 04:30 AM
тАО05-28-2003 04:30 AM
Java: How to run .jar files
I am working in a Compaq Tru64 UNIX V5.1A, with java, version java version "1.1.8-10". I am trying to install a program .jar called "jedit42pre1install.jar", from http://www.jedit.org/index.php?page=download
I am not able to run the .jar program. How can I do it ?
the option java - jar is not available
How do you run a .jar program ?
thanks
jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 04:47 AM
тАО05-28-2003 04:47 AM
Re: Java: How to run .jar files
say jar -xvf
ideally you want to place the jar in the runtime library so that when you start the JVM it is available to you.
that is at $JAVA/jre/lib/ext
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 04:55 AM
тАО05-28-2003 04:55 AM
Re: Java: How to run .jar files
Check the version of java you are using.
I think java -jar.
you have to include the jar file in your CLASSPATH. Then run the program by calling the class name which has the main function. In this case, it will be jedit.
HTH
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2003 04:58 AM
тАО05-28-2003 04:58 AM
Re: Java: How to run .jar files
I'm looking on the download page and and jEdit requires java 1.3 or 1.4.
Try with java 1.3 and the option -jar.
Regards,
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2003 05:35 AM
тАО05-29-2003 05:35 AM
Re: Java: How to run .jar files
jar may not be in your path.
It is not an unix command.
A .jar file that is extracted does not set any file
executable.
This is not a problem with java command executions but,
some vendirs then instruct you to run "setup" or "install" and this will require the
called scripts to require "x" in some cases.
Shell command scripts require this,
Java command jars do not.
Just general information.
Tony