Sponsored Content
Full Discussion: Java error in Solaris 9
Operating Systems Solaris Java error in Solaris 9 Post 302509748 by manojsomanath on Thursday 31st of March 2011 03:46:50 PM
Old 03-31-2011
Java error in Solaris 9

Hi folks,

I had a sparc machine with Solaris9 and built in java1.4.2
I installed Java1.5 on top of it by running the file jre-1_5_0_22-solaris-sparcv9.sh

Now when I run the java application, I get the following error:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

When I run java -fullversion, I get proper output
java full version "1.5.0_22-b03"

But wen i run java -version, I get the same error repeated.

Code:
 
lsun7083 /usr/jdk/jre1.5.0_22/bin/sparcv9-> find / -name rt.jar
/usr/j2se/jre1.6.0_24/lib/rt.jar
/usr/java1.2/jre/lib/rt.jar

I am a newbie to IT field. Kindly help

Regards
Manu

Last edited by manojsomanath; 03-31-2011 at 05:14 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 8 JAVA

Does anyone know why Solaris 8 seems to take a long time for it to load java applet? Or is there a problem with me Java. For example this web page; On a linux box it comes up quick but on my Solaris box it takes three times as long. If anyone has an information or can point me to the right place,... (4 Replies)
Discussion started by: larry
4 Replies

2. Solaris

Sun Java Portal Server 6 and Solaris 10

Hello, I have recently installed Solaris 10 OE in an Ultra-10 stand alone workstation. I would like to know where can I find information regarding which version of Sun Web technologies such as: Sun Java Portal 6.x Sun Java Web Server 6.x Sun Java Identity Server Sun Java Directory... (0 Replies)
Discussion started by: mosqueda_albert
0 Replies

3. UNIX for Dummies Questions & Answers

Java into Solaris box

Hi need to install java in a Unix box, but have not been able to. Does anyone know where I can find information on where and how to install. THank you (1 Reply)
Discussion started by: federico
1 Replies

4. Solaris

How do I switch from CDE to Java Desktop in Solaris 10?

I am a newbie to Solaris/UNIX. I just installed Solaris 10 and accidentally chose CDE as my desktop instead of Java. How can I set Java Desktop as my desktop? Because before i installed my mechine is using java and more beauty from CDE.. (2 Replies)
Discussion started by: moslemovic
2 Replies

5. Solaris

Java Solaris 10 Zone settings

I have the following situation 1) Start JBoss Server 1 2) Within application - print as normal 3) Start JBoss Server 2 4) Printing STOPS on Server 1; Printing does NOT WORK on Server 2 Only solution is to stop Server 2; Restart Server 1 Then Printing works as normal. Doung a truss... (8 Replies)
Discussion started by: pmm
8 Replies

6. Solaris

what is the command to see the java version in solaris 8 and solaris 10

what is the command to see the java version in solaris 8 and solaris 10 (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

7. Solaris

Solaris 10 Java version

I have an issue here setting up ASR with a server. In order to have the SASM service runnning/enabled, the required java version is 1.6 U18(latest). My OS came with JDK 1.5 I downloaded and installed 1.6 But when I did java -version , its still showing 1.5 I captured the below from another... (4 Replies)
Discussion started by: incredible
4 Replies

8. Solaris

Java Installation on s Solaris 8

I have installed java 1.6.0_31 on a solaris 8 machine by mean of the jre-6u31-solaris-sparc.sh file. The installation i think is allright infact if I run the java -version command it shows the right version but if i try to run the command java -jar Monitor.jar c (where monitor.jar is a little... (1 Reply)
Discussion started by: aemme
1 Replies

9. Solaris

How to install java (jdk-74) on solaris 10?

What kind of required java type for installed? which address link, i need to download the package. i have zcat this version jdk-7-solaris-sparc.tar.Z and then installed each the packages with pkgadd -d . , but my java version still java full version "1.5.0_24-b02".is it need doanything after... (1 Reply)
Discussion started by: aagusman
1 Replies

10. AIX

Unable to correct NMONVisualizer java error. Can someone help to decode this java error?

Hello AIX and Java gurus, I have a java error that I have no clue how to resolve. I am trying to run the popular NMONVisualizer utility against a NMON dataset and getting the error as shown below: /db2storage/NMON >java -jar NMONVisualizer_2015-02-02.jar com.ibm.nmon.ReportGenerator... (1 Reply)
Discussion started by: okonita
1 Replies
serialver(1)						      General Commands Manual						      serialver(1)

NAME
serialver - serial version command SYNOPSIS
serialver [ options ] [ classnames ] options Command-line options, as specified in this document. classnames One or more class names. DESCRIPTION
serialver returns the serialVersionUID for one or more classes in a form suitable for copying into an evolving class. When invoked with no arguments, it prints a usage line. OPTIONS
-classpath <directories and zip/jar files separated by:> Set search path for application classes and resources. -show Displays a simple user interface. Enter the full class name and press either the Enter key or the Show button to display the serialVersionUID. -Joption Pass option to the Java virtual machine, where option is one of the options described on the man page for the java applica- tion launcher, java(1). For example, -J-Xms48m sets the startup memory to 48 megabytes. It is a common convention for -J to pass options to the underlying virtual machine. SEE ALSO
See (or search java.sun.com) for the following: java.io.ObjectStreamClass @ http://java.sun.com/j2se/1.5/docs/api/java/io/ObjectStreamClass.html 24 June 2004 serialver(1)
All times are GMT -4. The time now is 08:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy