The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Trouble installing Java bin in ssh clockwise Shell Programming and Scripting 3 04-12-2008 02:24 PM
Sun Java Platform, Standard Edition 1.5.0_15 (Java 5 branch) iBot Software Releases - RSS News 0 03-06-2008 05:50 PM
installing java 5.0 in HPUX B11.11 winky HP-UX 6 01-22-2008 11:21 PM
Java Exceptions while installing Oracle panchpan SUN Solaris 5 11-21-2007 04:46 AM
Installing Java on Openserver 6 LetSco UNIX for Dummies Questions & Answers 6 07-04-2007 02:01 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-04-2007
Amardeep Amardeep is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 22
installing java runtime on HP-Ux

Hello Everyone...

I have got one HP Ux server. Full info is as follows

HP-UX ishesl B.11.11 U 9000/800 1194414656 unlimited-user license

I tried running some java based GUI tool but it gave this error java.lang.NoClassDefFoundError

it means that java run time is not installed on the machine. So i tried searching for java run time on HP website. But in list of servers on Hp website, there are given a number of servers in 9000/800 series, I am not able to understand which one to go for. Can somebody give me the link to a website from where I can download this.

Thanks in advance
Sidhu
  #2 (permalink)  
Old 01-04-2007
maheshwin maheshwin is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 55
Hp

HI


first try to get total information of your system configuration, since HP has different versions of hardware and software , so system manaul may help u in this regard
  #3 (permalink)  
Old 01-04-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Are you sure that java isn't installed? Make sure using 'swlist -l product | grep -i java'. A class not being found does not mean that java isn't installed. In fact, I'd say that java is installed and that is why you are getting that error (its coming from java itself).

Make sure that the CLASSPATH is properly set and go through your application's config files.
  #4 (permalink)  
Old 01-04-2007
Amardeep Amardeep is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 22
Hi
after running this command this is what i got
PHKL_32927 1.0 PA-8800 Fix Java (64-bit JVM) process hang

From this what I can figure out is that JRE is not there on the machine.
any further clues ?

Thanks
Sidhu
  #5 (permalink)  
Old 01-04-2007
ranj@chn ranj@chn is offline Forum Advisor  
Playing with Ubuntu Now!
  
 

Join Date: Oct 2005
Location: Chennai
Posts: 365
it is a patch

It just says that it is a patch for java. Doesnt say that there is no java installed. So, if a patch is installed, then java should be there on the system. Try listing processes and grep for java and see if it running.

This link says, to use the above given command only if the software is installed using swinstall.

Last edited by ranj@chn; 01-04-2007 at 01:51 PM.. Reason: typo
  #6 (permalink)  
Old 01-04-2007
ranj@chn ranj@chn is offline Forum Advisor  
Playing with Ubuntu Now!
  
 

Join Date: Oct 2005
Location: Chennai
Posts: 365
classpath

Like blowtorch was saying check your classpath. Here is something I found when I googled on the error - link.
  #7 (permalink)  
Old 01-04-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,223
Quote:
Originally Posted by blowtorch
In fact, I'd say that java is installed and that is why you are getting that error (its coming from java itself).
Correct assumption, this is a JVM error.

There are two possible reasons for this error.
1. As aready stated, the CLASSPATH is incorrect.
2. The main class is incorrectly specified.

Consider this example:
My class is called MainClass, and is in package com.unix

To invoke the method I run:
Code:
java com.unix.MainClass
not
Code:
java MyClass
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0