- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Executing an application on hp-ux 10.20 using jdk1...
Operating System - HP-UX
1753944
Members
8824
Online
108811
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
03-15-2002 09:01 AM
03-15-2002 09:01 AM
Executing an application on hp-ux 10.20 using jdk1.1.8
Hi all:
What is the best way to deliver an application to the customer (in the form of jar file or ...)?
If jar file is the best form, then how shd i create a jar file for my application on hp-ux 10.20
My application is using two other jar files (vendor-provided) say x.jar and y.jar
In win-nt, i created a jar file (say app.jar) using the command from the directory (say proj) which contains all the files needed for this project
c:\proj>jar -cvf app.jar *
Then to execute a class file (say main.class which contains the application's entry point)
C:\proj>java -classpath app.jar;x.jar;y.jar main
The above commands worked in win-nt and it had started the application but these commands are not working properly in hp-ux 10.20....
After i created a jar file, I tried the following 2 commands in hp-ux 10.20, they are NOT working
java -classpath /opt/java/lib/classes.zip:app.jar:x.jar:y.jar main
jre -classpath /opt/java/lib/classes.zip:app.jar:x.jar:y.jar main
These commands are not giving me error...but if i do
ps -lef | grep main, it is not running
If i directly do
jre main, it is running (without creating a jar file)
could anyone help me please? Thanks a lot.
Sr
What is the best way to deliver an application to the customer (in the form of jar file or ...)?
If jar file is the best form, then how shd i create a jar file for my application on hp-ux 10.20
My application is using two other jar files (vendor-provided) say x.jar and y.jar
In win-nt, i created a jar file (say app.jar) using the command from the directory (say proj) which contains all the files needed for this project
c:\proj>jar -cvf app.jar *
Then to execute a class file (say main.class which contains the application's entry point)
C:\proj>java -classpath app.jar;x.jar;y.jar main
The above commands worked in win-nt and it had started the application but these commands are not working properly in hp-ux 10.20....
After i created a jar file, I tried the following 2 commands in hp-ux 10.20, they are NOT working
java -classpath /opt/java/lib/classes.zip:app.jar:x.jar:y.jar main
jre -classpath /opt/java/lib/classes.zip:app.jar:x.jar:y.jar main
These commands are not giving me error...but if i do
ps -lef | grep main, it is not running
If i directly do
jre main, it is running (without creating a jar file)
could anyone help me please? Thanks a lot.
Sr
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP