HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX java 1.3 error
Operating System - HP-UX
1837921
Members
7016
Online
110124
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
Forums
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
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-21-2007 09:10 AM
03-21-2007 09:10 AM
HPUX java 1.3 error
I have installed java 1.3.1.19 on 02/13/07. Today when we run the java its giving JVM error message.
/opt/java1.3/bin/java -version
Error occurred during initialization of VM
java.lang.NoClassDefFoundError: sun/misc/Version
then I copied /opt/java1.3 to /tmp and ran java -version command, it worked!!!
/tmp/java1.3/bin/java -version
+ /tmp/java1.3/bin/java -version
java version "1.3.1.19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.19-061215-02:09)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.19-_15_dec_2006_03_05 PA2.0, mixed mode)
I copied with cp -r and find ./java1.3 -print -depth | cpio -pmvd /tmp/
Both copies worked fine, so its not permission issue.
As far as I know, nothing changed on this server.
Any idea, why we are getting that error message?
Thanks
/opt/java1.3/bin/java -version
Error occurred during initialization of VM
java.lang.NoClassDefFoundError: sun/misc/Version
then I copied /opt/java1.3 to /tmp and ran java -version command, it worked!!!
/tmp/java1.3/bin/java -version
+ /tmp/java1.3/bin/java -version
java version "1.3.1.19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.19-061215-02:09)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.19-_15_dec_2006_03_05 PA2.0, mixed mode)
I copied with cp -r and find ./java1.3 -print -depth | cpio -pmvd /tmp/
Both copies worked fine, so its not permission issue.
As far as I know, nothing changed on this server.
Any idea, why we are getting that error message?
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2007 08:15 PM
03-21-2007 08:15 PM
Re: HPUX java 1.3 error
Hi Sfgroups,
with this error
java.lang.NoClassDefFoundError
most of the time CLASSPATH is the problem.
run echo $CLASSPATH to see where it pointed to
if the location is not correct.
#unset CLASPATH
and try again
Cheers,
Tom
with this error
java.lang.NoClassDefFoundError
most of the time CLASSPATH is the problem.
run echo $CLASSPATH to see where it pointed to
if the location is not correct.
#unset CLASPATH
and try again
Cheers,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2007 03:28 AM
03-22-2007 03:28 AM
Re: HPUX java 1.3 error
I don't think its related to CLASSPATH varible, this varible not in root user environment.
$echo $CLASSPATH
$
orginal copy error message:
$/opt/java1.3-org/bin/java -version
Error occurred during initialization of VM
java.lang.NoClassDefFoundError: sun/misc/Version
copied same binary into /tmp.
cp -rp /opt/java1.3-org /tmp/
/tmp/java1.3-org/bin/java -version
java version "1.3.1.19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.19-061215-02:09)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.19-_15_dec_2006_03_05 PA2.0, mixed mode)
I may need to reboot the server to fix this problem.
Thanks
$echo $CLASSPATH
$
orginal copy error message:
$/opt/java1.3-org/bin/java -version
Error occurred during initialization of VM
java.lang.NoClassDefFoundError: sun/misc/Version
copied same binary into /tmp.
cp -rp /opt/java1.3-org /tmp/
/tmp/java1.3-org/bin/java -version
java version "1.3.1.19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.19-061215-02:09)
Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.19-_15_dec_2006_03_05 PA2.0, mixed mode)
I may need to reboot the server to fix this problem.
Thanks
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP