- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- JAVA: Cannot execute HPjconfig
Operating System - HP-UX
1752290
Members
4999
Online
108786
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
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
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
тАО12-12-2004 10:17 PM
тАО12-12-2004 10:17 PM
JAVA: Cannot execute HPjconfig
Hi,
customer wanted HP's port of JDK 1.4.X installed on their box.
So I downloaded and installed the stuff,
and was daring enough to let the /opt/java symlink point to the new installation target of /opt/java1.4
Now developers (to whom I don't have contact, because they should be able to help me with this Java stuff) are experiencing problem
that they relate to inappropiate Kernel tunables.
To aid me with sorting out fitting tunables I downloaded HPjconfig from here
http://www.hp.com/products1/unix/java/java2/hpjconfig/index.html
I then untarred the archive to a staging directory and ran the following java command (as the download site's terse install instructions suggested)
Yet, I'm not able to execute the HPjconfig class, and this is what I get:
# /opt/java/bin/java -cp /opt/build/tmp/HPjconfig.jar:/opt/build/HPjconfig_data.jar HPjconfig
Model.Model = 9000/800/L1500-7x
JVM version = 1.4.2.06
OS = HP-UX
OS version = B.11.00
Model = 9000/800/L1500-7x
ProgressHistory: < ProgressHistory: < ProgramVersion = 2.1
DataVersion = 2.1.1
ProgressHistory: >>Completed: checkProgramAndDataVersions()
ProgressHistory: < ProgressHistory: >>Completed: construct & init of VariousGUIitems-1
ProgressHistory: < ProgressHistory: >>Completed: constructing InfoUpdatePanel
ProgressHistory: < ProgressHistory: >>Completed: constructing JavaApps
ProgressHistory: < ProgressHistory: >>Completed: constructing SuperUserPanel
ProgressHistory: < ProgressHistory: <
Usage: java -Xbootclasspath/p:HPjconfig.jar:HPjconfig_data.jar HPjconfig
I'm not into Java, and so I don't no the subtle differences between an ordinary Java Classpath (that the website suggested) and the Xbootclasspath the Java interpreter suggests above.
A simple substitution of -cp by -Xbootclasspath didn't work either.
I'm not into Java
(never really got infected by the Java hype)
so I'm a bit lost how to carry on.
I looked into the Java archive, and can see that there exists a HPjconfig.class file.
I can remember that cleanly written Java classes provide a documentation mechanismen called Javadoc (I think similar to Perldoc).
But I cannot recall how to invoke it in order to see the classe's interface documentation.
# /opt/java1.4/bin/jar -tf /opt/build/tmp/HPjconfig.jar|grep HPjconfig
HPjconfig$1.class
HPjconfig$2.class
HPjconfig$3.class
HPjconfig$4.class
HPjconfig$5.class
HPjconfig$6.class
HPjconfig.class
customer wanted HP's port of JDK 1.4.X installed on their box.
So I downloaded and installed the stuff,
and was daring enough to let the /opt/java symlink point to the new installation target of /opt/java1.4
Now developers (to whom I don't have contact, because they should be able to help me with this Java stuff) are experiencing problem
that they relate to inappropiate Kernel tunables.
To aid me with sorting out fitting tunables I downloaded HPjconfig from here
http://www.hp.com/products1/unix/java/java2/hpjconfig/index.html
I then untarred the archive to a staging directory and ran the following java command (as the download site's terse install instructions suggested)
Yet, I'm not able to execute the HPjconfig class, and this is what I get:
# /opt/java/bin/java -cp /opt/build/tmp/HPjconfig.jar:/opt/build/HPjconfig_data.jar HPjconfig
Model.Model = 9000/800/L1500-7x
JVM version = 1.4.2.06
OS = HP-UX
OS version = B.11.00
Model = 9000/800/L1500-7x
ProgressHistory: <
DataVersion = 2.1.1
ProgressHistory: >>Completed: checkProgramAndDataVersions()
ProgressHistory: <
ProgressHistory: <
ProgressHistory: <
ProgressHistory: <
ProgressHistory: <
Usage: java -Xbootclasspath/p:HPjconfig.jar:HPjconfig_data.jar HPjconfig
I'm not into Java, and so I don't no the subtle differences between an ordinary Java Classpath (that the website suggested) and the Xbootclasspath the Java interpreter suggests above.
A simple substitution of -cp by -Xbootclasspath didn't work either.
I'm not into Java
(never really got infected by the Java hype)
so I'm a bit lost how to carry on.
I looked into the Java archive, and can see that there exists a HPjconfig.class file.
I can remember that cleanly written Java classes provide a documentation mechanismen called Javadoc (I think similar to Perldoc).
But I cannot recall how to invoke it in order to see the classe's interface documentation.
# /opt/java1.4/bin/jar -tf /opt/build/tmp/HPjconfig.jar|grep HPjconfig
HPjconfig$1.class
HPjconfig$2.class
HPjconfig$3.class
HPjconfig$4.class
HPjconfig$5.class
HPjconfig$6.class
HPjconfig.class
Madness, thy name is system administration
- Tags:
- hpjconfig
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2004 02:36 AM
тАО12-13-2004 02:36 AM
Re: JAVA: Cannot execute HPjconfig
Hi Ralph,
Have you the latest required patches for java1.4?
I just tried on a rp5450 with multiple java version installed but none in any path and Im not into java either...
So first attempt:
I went where I downloaded HPjconfig and did the same command as you but giving the path to java1.4 - nothing else:
# /opt/java1.4/bin/java -Xbootclasspath/p:HPjconfig.jar:HPjconfig_data.jar HPjconfig
- It failed because I didnt set DISPLAY for it to open X appl HPconfig.
set DISPLAY and tried again this time it worked... I didnt fiddle with classpaths... just executed from where the product is
All the best
Victor
Have you the latest required patches for java1.4?
I just tried on a rp5450 with multiple java version installed but none in any path and Im not into java either...
So first attempt:
I went where I downloaded HPjconfig and did the same command as you but giving the path to java1.4 - nothing else:
# /opt/java1.4/bin/java -Xbootclasspath/p:HPjconfig.jar:HPjconfig_data.jar HPjconfig
- It failed because I didnt set DISPLAY for it to open X appl HPconfig.
set DISPLAY and tried again this time it worked... I didnt fiddle with classpaths... just executed from where the product is
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2004 02:40 AM
тАО12-13-2004 02:40 AM
Re: JAVA: Cannot execute HPjconfig
Forgot to say I executed as mentionned in the readme: as root
All the best
Victor
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2004 07:46 PM
тАО12-13-2004 07:46 PM
Re: JAVA: Cannot execute HPjconfig
Victor,
as Java being notorious for GUI applications
(have you ever come accross a Java program that has a pure command line interface in good old Unix style?), exporting DISPLAY to my Xserver was the first thing I tried.
For a few tenth of a second I even could realize a window attempting to pop up.
But then it finished with the line I posted.
Apropos, /opt/java is a symlink that points to JDK1.4 install target dir, so it should have invoked the "right" interpreter.
/opt/java/bin/java -version
java version "1.4.2.06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.06-041015-11:00)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.06-041015-12:38-PA_RISC2.0 PA2.0 (
But your mentioning of the latest Java patch gizmo is well worth to be checked.
as Java being notorious for GUI applications
(have you ever come accross a Java program that has a pure command line interface in good old Unix style?), exporting DISPLAY to my Xserver was the first thing I tried.
For a few tenth of a second I even could realize a window attempting to pop up.
But then it finished with the line I posted.
Apropos, /opt/java is a symlink that points to JDK1.4 install target dir, so it should have invoked the "right" interpreter.
/opt/java/bin/java -version
java version "1.4.2.06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.06-041015-11:00)
Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.06-041015-12:38-PA_RISC2.0 PA2.0 (
But your mentioning of the latest Java patch gizmo is well worth to be checked.
Madness, thy name is system administration
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