Hi,

# pntadm
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version 
number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)




# cat /usr/sbin/pntadm
#!/usr/bin/pfsh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#ident  "%Z%%M% %I%     %E% SMI"
#
# Copyright (c) 2001 by Sun Microsystems, Inc.
# All rights reserved.
#

exec /usr/lib/inet/dhcp/svcadm/pntadm "$@"





# cat /usr/lib/inet/dhcp/svcadm/pntadm
#!/bin/sh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License").  You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#ident  "%Z%%M% %I%     %E% SMI"
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
DMDIR=/usr/lib/inet/dhcp/svcadm
L10NDIR=/usr/share/lib/locale
WBEMDIR=/usr/sadm/lib/wbem

CLASSPATH=${L10NDIR}:${DMDIR}/dhcpcli.jar:${DMDIR}/dhcpsvc.jar:${DMDIR}/dhcpcommon.jar:${WBEMDIR}/providerutility.jar
export CLASSPATH

LD_LIBRARY_PATH=${WBEMDIR}
export LD_LIBRARY_PATH

exec /usr/java/bin/java com.sun.dhcpmgr.cli.pntadm.PntAdm "$@"



It comes from jumpstart log, it works on Solaris 10, but not in SXCE:

# cat /var/sadm/system/logs/install_log | grep "Selecting package"
         - Selecting package (SUNWbash)
         - Selecting package (SUNWinst)
         - Selecting package (SUNWless)
         - Selecting package (SUNWgcmn)
         - Selecting package (SUNWwgetr)
         - Selecting package (SUNWwgetu)
         - Selecting package (SUNWfreetype2)
         - Selecting package (SUNWxwfsw)
         - Selecting package (SUNWxwplr)
         - Selecting package (SUNWctpls)
         - Selecting package (SUNWadmj)
         - Selecting package (SUNWxwplt)
         - Selecting package (SUNWxwice)
         - Selecting package (SUNWxwrtl)
         - Selecting package (SUNWmfrun)
         - Selecting package (SUNWaudit)
         - Selecting package (SUNWjsnmp)
         - Selecting package (SUNWwbapi)
         - Selecting package (SUNWadmfr)
         - Selecting package (SUNWwbcou)
         - Selecting package (SUNWj5rt)
         - Selecting package (SUNWdhcm)
         - Selecting package (SUNWdhcsb)
         - Selecting package (SUNWdhcsr)
         - Selecting package (SUNWdhcsu)
         - Selecting package (SUNWbrg)
         - Selecting package (SUNWcacaort)
         - Selecting package (SUNWccccfg)
         - Selecting package (SUNWccccr)
         - Selecting package (SUNWccccrr)
         - Selecting package (SUNWccfw)
         - Selecting package (SUNWccfwctrl)
         - Selecting package (SUNWccinv)
         - Selecting package (SUNWccsign)
         - Selecting package (SUNWcctpx)
         - Selecting package (SUNWcsmauth)
         - Selecting package (SUNWj5rtx)
         - Selecting package (SUNWjdmk-base)
         - Selecting package (SUNWlibpopt)
         - Selecting package (SUNWluzone)
         - Selecting package (SUNWpool)
         - Selecting package (SUNWpoolr)
         - Selecting package (SUNWzoner)
         - Selecting package (SUNWzoneu)
         - Selecting package (SUNWppro-plugin-sunos-base)
         - Selecting package (SUNWppror)
         - Selecting package (SUNWpprou)
         - Selecting package (SUNWsam)
         - Selecting package (SUNWsamr)
         - Selecting package (SUNWscn-base)
         - Selecting package (SUNWscn-base-r)
         - Selecting package (SUNWscnprm)
         - Selecting package (SUNWscnprmr)
         - Selecting package (SUNWscnsom)
         - Selecting package (SUNWscnsomr)
         - Selecting package (SUNWsensor)
         - Selecting package (SUNWxcu4)
         - Selecting package (SUNWxwfnt)


-- 
Regards,
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to