[LINUX - CentOS 5] java.lang.NoClassDefFoundError
Okay, here it goes.. This error has been bugging me for the past few days and I really don't know what to do :(
I'm running CentOS 5 and I installed the jdk1.5.0_14 package.
I'm trying to run the following file:
#!/bin/sh
while true; do
java -cp ../lib/jio.jar:../lib/application.jar:../lib/commons-collections-3.1.jar:../lib/commons-dbcp-1.2.1.jar:../lib/commons-pool-1.2.jar:../lib/commons-logging-1.0.4.jar:../lib/log4j-1.2.9.jar:$../lib/sqljdbc.jar authd /etc/table.xml
sleep 10
doneThen the command console shows me the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: authd
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: authd not found in gnu.gc
j.runtime.SystemClassLoader{urls=[file:../lib/jio.jar,file:../lib/appl
ication.jar,file:../lib/commons-collections-3.1.jar,file:../lib/common
s-dbcp-1.2.1.jar,file:../lib/commons-pool-1.2.jar,file:../lib/commons-
logging-1.0.4.jar,file:../lib/log4j-1.2.9.jar], parent=gnu.gcj.runtime
.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)If there's anyone that knows something to fix this, please do let me know. Just ask me if you need to know some additional info about my CentOS 5 installation.
Best regards,
Dirk
hypnoticdragon wrote:
Hope you won't mind me asking this but i'm rather new to linux aswell ;(
But where can I find the path list that i have to modify?Sorry but you need to become familiar with Linux. This is a very basic feature of Linux which will be covered by any Unix/Linux book or tutorial. Google will find you several tutorials. It would be worth spending a few hours on the basics.
Similar Messages
-
Java.lang.NoClassDefFoundError when compile class in Weblogic Linux Env.
Hi,
I'm trying jay article ( http://jaysensharma.wordpress.com/2009/08/17/mdb3-0-sample-for-weblogic-application-server/ ) for send message
to JMS, it works great in windows but in Linux is failed.
I’m facing the issue when compile QueueSend class linux environment,
but windows it works great.
in windows I compile the class like this :
C:\bea\user_projects\domains\MyDomain\bin>setDomainEnv.cmd
C:\bea\user_projects\domains\MyDomain>java QueueSend t3://localhost:7001
JMS Message Sent: Test Message Body with counter = 0
JMS Message Sent: Test Message Body with counter = 1
in Linux :
after ./setDomainEnv,
$bea\…\MYDOMAIN\bin >java QueueSend t3://localhost:7001
Exception in thread “main” java.lang.NoClassDefFoundError: javax/jms/Message
Caused by: java.lang.ClassNotFoundException: javax.jms.Message
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
I think it cannot find the java_home or classpath properly, how to solve this issue?
Really thanks in advance.
Edited by: muhkah on 09-Apr-2010 19:58Hi Muhkah,
Please add the *"<BEA_HOME>\modules\javax.jms_1.1.1.jar"* file also in the Client ClassPath.
But the Best thing i will suggest it to Just add the "wlfullClient.jar" file in the client ClassPath...this is a very useful Jar file which solves many many issues. There is a very simple way to create this JAR file: http://jaysensharma.wordpress.com/2010/02/03/building-wlfullclient-jar/
<BR>
The advantage of using *"wlfullclient.jar"* is Just Make it once and then reuse this single Jar in any client Application which is going to interact with WebLogic. This Powerful Jar contains almost all the Classes which is needed by a Client.
Now you can run your Client Program like this :
java -classpath /app/bea10.3/wl_server/server/lib/wlfullclient.jar QueueSend t3://localhost:7001
Thanks
Jay SenSharma -
Hi
I am new to java and am trying to deploy a code on linux red hat 4.I have 5 files namely:
1.ClassReportGenerator.java
2.ClassScheduler.java
3.manifest
4.rep_compile.sh
5.repgen.sh
first the rep_compile.sh is used to generate the class files for the two java files and then it creates a jar file
rep.jar file.
rep_compile.sh
export PATH=/app/oradshome/jdk/bin:/app/oradshome:$PATH
echo "Compiling ClassReportGenerator.java ClassScheduler.java"
javac -verbose ClassReportGenerator.java ClassScheduler.java
echo "Creating jar from manifest file"
jar -cvfm rep.jar manifest ClassReportGenerator.class ClassScheduler.class
echo "Executing repgen.sh"
sh repgen.sh
At the end it calls the repgen.sh file
which sets some path and class paths and then takes some user inputs and fires the command
paths being set---
export CLASSPATH=/dit/reports/rep.jar:$CLASSPATH
export PATH=/app/oradshome/jdk/bin:/app/oracle/OraHome/bin:$PATH
command being fired
java -jar rep.jar $userid $password $schema $scheduleafter firing the last lines it throws the error :
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: rep.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/dit/reports/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at JvRegisterClasses (/dit/reports/java.version=1.4.2)
Plaese help me in this regard.The Code is running fine on IBM AIX.
Thanks & Regards
Ankit GoelWrong forum
-
Java.lang.NoClassDefFoundError in Linux when I execute my class
I don't know to happen but I tried all things.
I compile well my .java but I have problems when I want to execute my class
the console send me the next error
Exception in thread "main" java.lang.NoClassDefFoundError : renco
1. unset CLASSPATH.
2. define my CLASSPATH again with jars that I need you
java renco
the console send me this error
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
well, this error I managed with try-catch-finally
3. compile with:
java -classpath /directory/myjar.jar renco.java
the console send mi this:
Exception in thread "main" java.lang.NoClassDefFoundError : renco
Other hand, when i use forte for java by execute my class, it execute well. I want to know what commands the IDE used.
thanksthis mi code
* renco.java
* Created on 22 de agosto de 2003, 8:59
* @author mloayza
import java.io.*;
import java.sql.*;
import java.util.*;
public class renco {
/** Creates a new instance of reniec */
public String sqlNoticia;
public String sqlCodigoNoticia;
public String sqlComunicado;
public String pathInc;
private Connection cn;
public static void main(String args[]) throws Exception {
renco RN = new renco();
int estado = RN.proceso();
System.out.println(estado);
public renco() throws IOException{
sqlComunicado= " SELECT TO_CHAR(fecha,'dd/mm/yyyy') fecha, "+
" resumen resumen, "+
" id_comunicado codigo "+
" FROM intranet.int_comunicado "+
" WHERE"+
" id_comunicado = (SELECT max(id_comunicado) FROM intranet.int_comunicado) ";
sqlCodigoNoticia = "SELECT MAX(codigo_nota) codigo "+
" FROM intranet.nota_prensa ";
sqlNoticia = " SELECT codigo_nota codigo, "+
" titulo_nota titulo, TO_CHAR(fecha_nota,'dd/mm/yyyy') fecha "+
" FROM intranet.nota_prensa "+
" WHERE "+
" codigo_nota > ( ? - 4) "+
" ORDER BY codigo_nota DESC";
//pathInc = this.LeeParametro("PathInc");
cn = this.getCn();
this.pathInc = "/das/por/";
public Connection getCn() {
String URL = "jdbc:oracle:thin:@200.20.12.12:1529:asdb";
String USER = "qweqwe";
String PASS = "qweqwe";
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
cn = DriverManager.getConnection(URL,USER,PASS);
catch(Exception sqle){
cn = null;
return cn;
public void closeCn(Connection cn) throws SQLException {
this.cn.close();
cn= null;
public int proceso(){
ResultSet rs = null;
StringBuffer textoComunicado = new StringBuffer();
StringBuffer textoNoticia = new StringBuffer();
int codigo = 0;
int estado = 0;
String URL = "jdbc:oracle:thin:@200.20.12.12:1529:asdb";
String USER = "qweqwe";
String PASS = "qweqwe";
textoNoticia.append("<Script Language='JavaScript1.2'>");textoNoticia.append((char)13);
textoNoticia.append("aj_scroller = new AJScroller();");textoNoticia.append((char)13);
textoNoticia.append("aj_scroller.width = 439;");textoNoticia.append((char)13);
textoNoticia.append("aj_scroller.height = 55;");textoNoticia.append((char)13);
textoNoticia.append("aj_scroller.scrollspeed = 50;");textoNoticia.append((char)13);
textoNoticia.append("aj_scroller.pausedelay = 2000;");textoNoticia.append((char)13);
textoNoticia.append("aj_scroller.pausemouseover = true;");textoNoticia.append((char)13);
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
cn = DriverManager.getConnection(URL,USER,PASS);
cn = getCn();
FileOutputStream fosCom = new FileOutputStream(pathInc+"comunicado.inc"); //archivo Comunicado
DataOutputStream dosCom = new DataOutputStream(fosCom);
FileOutputStream fosNot = new FileOutputStream(pathInc+"noticia.inc"); //archivo Comunicado
DataOutputStream dosNot = new DataOutputStream(fosNot);
//Generacion de cadena para comunicados
PreparedStatement psc = cn.prepareStatement(sqlComunicado);
rs = psc.executeQuery();
rs.next();
textoComunicado.append("<font size='1' color='#505050'><b>)");textoComunicado.append((char)13);
textoComunicado.append("("+ rs.getString("fecha") +") .- "+ rs.getString("resumen")+" ");textoComunicado.append((char)13);
textoComunicado.append("</b></font><font size='1' color='orange'><b><br>");textoComunicado.append((char)13);
textoComunicado.append(" <a href='/portal/s/portal.PIComunicado?codigo="+ rs.getString("codigo")+"'>Más Detalles >></a>");textoComunicado.append((char)13);
textoComunicado.append("</b></font>");textoComunicado.append((char)13);
psc.close();psc=null;
rs = null;
//Generacion de cadena para comunicados
//Obtencion del codigo de la ultima noticia
PreparedStatement pscn = cn.prepareStatement(sqlCodigoNoticia);
rs = pscn.executeQuery();
rs.next();
codigo = rs.getInt("codigo");
rs = null;
PreparedStatement psn = cn.prepareStatement(sqlNoticia);
psn.setInt(1,codigo);
rs = psn.executeQuery();
while(rs.next()){
textoNoticia.append("aj_scroller.add('<table ><tr><td class=rojo><font face=\"Webdings, Wingdings\">4</font></td><td class=rojo><font size=1 color=\"#143E7B\"><p align=\"justify\"><b>"+ rs.getString("Titulo") +" ("+ rs.getString("fecha") +")</b></font></td></table>');");textoNoticia.append((char)13);
rs.close();rs=null;
textoNoticia.append("aj_scroller.display();");textoNoticia.append((char)13);
textoNoticia.append("</Script>");textoNoticia.append((char)13);
dosCom.writeBytes(textoComunicado.toString());
fosCom.close();fosCom = null;
dosCom.close();dosCom=null;
dosNot.writeBytes(textoNoticia.toString());
fosNot.close();fosNot= null;
dosNot.close();dosNot=null;
closeCn(cn);
estado=1;
}catch(IOException ioe){
estado = 0;
catch(SQLException sqle){
estado = 0;
catch(ClassNotFoundException nfce){
estado = 0;
System.out.println(nfce);
//nfce.printStackTrace();
return estado;
public String LeeParametro(String parametro) throws IOException, FileNotFoundException
String path = System.getProperty("java.home");
parametro = parametro.trim().toUpperCase();
String valor = "";
String s;
try{
BufferedReader br = new BufferedReader(new FileReader(path.trim().replace('\\','/')+"/Homepage.conf"));
while ((s = br.readLine())!= null) {
StringTokenizer st = new StringTokenizer(s, "=");
while (st.hasMoreTokens()){
String word = st.nextToken();
if (word.startsWith(parametro)) {
valor = st.nextToken().trim();
catch (FileNotFoundException e) {
throw new FileNotFoundException ("Archivo no encontrado " path"/Homepage.conf"); }
catch (IOException e) {
throw new IOException ("Error al leer "+path+"/Homepage.conf"); }
return valor; -
Java/lang/NoClassDefFoundError: java/lang/Object
Hi Experts,
We are installing Java "1.6.0_31.We have updated the environment variables with the correct Java Path but which checking the java -version we are getting the following error.
java -version
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
hence the DAC service is not starting giving the following error.
startserver.h: startserver.h: cannot open
OS detected: SunOS
ld.so.1: java: fatal: libjli.so: open failed: No such file or directory
Killed
Following are the environment variable entries.
PATH=/opt/SUNWspro/bin:/../oracle/product/10.2.0/client_1/bin:/.../Informatica/PowerCenter8.6.1/server/bin:/usr/sfw/bin:/...../JAVA631/jdk1.6.0_31/bin/sparcv9:/.../JAVA631/jdk1.6.0_31/lib:/..../JAVA631/jdk1.6.0_31/jre/lib/sparcv9/jli:/...../JAVA631/jdk1.6.0_31/jre/lib/sparcv9:$PATH
export PATH
Need ur support.
ThanksWhere do you run shell script?
What's your Oracle's version?
What's text of your shell script?
By asking 100 questions and keeping 90 of them "unanswered" you throw yourself to the list of "blacklist users"
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]
Edited by: Kamran Agayev A. on May 19, 2009 1:28 PM -
Exception in thread "main" java.lang.NoClassDefFoundError
Am using java 1.3.1 on Red Hat Linux 7.1
i get this error
Exception in thread "main" java.lang.NoClassDefFoundError
while running a simple program HelloWorld.java
helpWhen you use the "java" command, the only required argument is the name of the class that you want to execute. This argument must be a class name, not a file name, and class names are case sensitive. For example, "java HelloWorld.java" won't work because the class name isn't HelloWorld.java, it's HelloWorld. Similarly, "java helloworld" won't work because a class defined as "public class HelloWorld {" is not named helloworld due to case sensitivity. Finally, the .class file must be in a directory that is in the Classpath - that's where java.exe searches to find the file that contains the class.
-
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
Hi,
I am having an issue with SAP adapter configuration. It throws below error in log files :
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386/client:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/lib/i386:/opt/apps/Oracle/jdk160_14_R27.6.5-32/jre/../lib/i386:/opt/apps/Oracle/patch_wls1032/profiles/default/native:/opt/apps/Oracle/patch_jdev1111/profiles/default/native:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686:/opt/apps/Oracle/wlserver_10.3/server/native/linux/i686/oci920_8:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/edifecs/XEngine/bin]
java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO
Invoking SAP targets from bpel or iwafjca test servlet fails with "java.lang.NoClassDefFoundError: Could not initialize class com.sap.mw.jco.JCO."
I am able to connect from Application Explorer(AE) and browse through idocs and bapis. I tried to check the class loading pattern for AE using Jconsole :
1. Started the AE
2. /opt/apps/Oracle/jdk1.6.0_19/bin/jps
15279 BseFlashScreen
3. /opt/apps/Oracle/jdk1.6.0_19/bin/jconsole 15279
Enabled verbose output on class loading page and connected to SAP target from AE
4. The verbose output shows below :
Loaded com.sap.mw.jco.JCO from file:/opt/apps/Oracle/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib/sapjco.jar
I have added the above path to my LD_LIBRARY_PATH
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
I also added the path to WEBLOGIC_CLASSPATH in commEnv.sh file.
The sapjco.jar, libsapjcorfc.so and librfccm.so files are also available under below directories
WL_HOME/server/lib
MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
MW_HOME/user_projects/domains/base_domain/lib
Any suggestions will be really helpful.
Regards
SubhankarHi Manoj,
I have added the libsapjcorfc.so and librfccm.so files to below locations:
WL_HOME/server/lib
MW_HOME/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib
MW_HOME/user_projects/domains/base_domain/lib
And also set the LD_LIBRARY_PATH and WEBLOGIC_CLASSPATH in commEnv.sh file.
Eg:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${WL_HOME}/server/native/linux/${arch}:${MW_HOME}/Oracle_SOA1/soa/thirdparty/ApplicationAdapters/lib:${MW_HOME}/user_projects/domains/base_domain/lib:${WL_HOME}/server/native/linux/${arch}/oci920_8
Is there any other location where these need to be added ? I hope library path/system path refers to the WEBLOGIC_CLASSPATH ?
Regards
Subhankar -
How can I resolve java.lang.NoClassDefFoundError?
I am new to Java and have installed it on my Linux Ubuntu 9.04 workstation in order to learn Java. Basic Java programs work, but I am having trouble connecting to a MySQL database. I installed these packages using Synaptic Package Manager, which I thought should cover everything I need for database connectivity: 1.gsfonts-x11; 2.java-common; 3.odbcinst1debian1; 4.sun-java6-bin; 5.sun-java6-jdk; 6.sun-java6-jre; 7.unixodbc.
After these packages were installed, I was not sure if I needed to do this, but I downloaded the MySQL connector from http://www.mysql.com/products/connector/ and installed in a directory called /home/mark/mysql/.
I edited /etc/environment" and added a CLASSPATH to where I installed the connector:
{code}CLASSPATH="/home/mark/mysql/mysql-connector-java-5.1.7/mysql-connector-java-5.1.7-bin.jar"
{code}
I created a very simple Java program based on one I found on the internet. I named the program Jdbctest to test the connection,
{code}import java.sql.*;
public class Jdbctest {
public static void main(String[] args){
System.out.println("running Jdbctest.java");
try {
Statement stmt;
//Register the JDBC driver for MySQL.
Class.forName("com.mysql.jdbc.Driver");
//Define URL of database server for database named mysql
// on the localhost with the default port number 3306.
String url = "jdbc:mysql://localhost:3306/mysql";
//Get a connection to the database for a
// user named root with password carrot.
// This user is the default administrator
// having full privileges to do anything.
Connection con = DriverManager.getConnection(url,"root", "carrot");
//Display URL and connection information
System.out.println("URL: " + url);
System.out.println("Connection: " + con);
//Get a Statement object
stmt = con.createStatement();
//Select from a table
stmt.executeQuery("SELECT host, user FROM mysql.user ");
con.close();
}catch( Exception e ) {
e.printStackTrace();
}//end catch
}//end main
}//end class Jdbctest{code}
but I get this error:
{code}Exception in thread "main" java.lang.NoClassDefFoundError: Jdbctest
Caused by: java.lang.ClassNotFoundException: Jdbctest
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: Jdbctest. Program will exit.{code}
I don't really understand what this error message is telling me. I've Googled for an explanation, and it seems to indicate that my CLASSPATH is wrong, but I'm not sure what it should be and how to fix it. Any assistance would be greatly appreciated.Your class JdcbTest isn't in that JAR, is it? So you need the CLASSPATH to also specify where that is. Typical CLASSPATHs start with a dot and then some jars.
-
Java.lang.NoClassDefFoundError in Mac OS X
Just getting started developing in mac OS X and have run into the following error
Exception in thread "main" java.lang.NoClassDefFoundError: testprogram
while trying to run a simple hello world program from the bash shell:
public class testprogram {
public static void main(String[] args){
System.out.println("Hey Zeph it worked!");
The program compliles fine, but the error occurs when trying to run it. I have a feeling it may have to do with my classpath being incorrect, however they are set as follows:
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin
PWD=/Users/zeph/testprogram
HOME=/Users/zeph
CLASSPATH=/System/Library/Frameworks/JavaVM.Framework/Home
I have been all over the web looking for solutions, most promising being the Getting started tutorial for macs (which is sady out of date and no help at all). Any thoughts would be most appreciated.
ZephyrCLASSPATH=/System/Library/Frameworks/JavaVM.Framew
ork/Home:.The file path that appears there in your classpath definition is actually where the bin directory of java can be found. Users of Windows and Linux must include such file path in some sort of PATH variable, either a user PATH or a system PATH so that the system can locate the java, javac etc executables.
But the CLASSPATH is where the JVM looks for class files. So you do not need to include your bin directory on your CLASSPATH. Moreover, on Mac OS X, it isn't necessary to set the system PATH variable because OS X does this for you. (Nice....) -
Java.lang.NoClassDefFoundError Toolkit.getDefaultToolkit
hi all
i got this error in a servlet.
i wrote it on my computer with no errors but, when i moved and executed it on a linux machine it doesn't work:
java.lang.NoClassDefFoundError at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:703)
at counter.count.createCounter(count.java:245)
the code is
images=Toolkit.getDefaultToolkit().getImage(imageSrc);
i think that the jdk version is the same on both the computers (1.4.0 or higher), and the code is the same!
why have i this problem
thanx
sandrohi rajesh
you don't know how i'm happy to see your answers!
i'm so desperate with this problem!
as you asked to me, this is the full stack trace that tomcat prints when i call my servlet:
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
root cause
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at java.awt.Toolkit$2.run(Toolkit.java:712)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:703)
at counter.count.createCounter(count.java:231)
at counter.count.processRequest(count.java:176)
at counter.count.doGet(count.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:536)
i don't know if there is some environment variable set up in a different way from my system (w2k) to the real server system (linux), also because i installed the jdk (1.4.0 on windows) without setting anything
if can help i'll post you soon the version of tomcat/jdk used by linux
thanx a lot
sandro -
Java.lang.NoClassDefFoundError when compile SQLJ source file
Always got error message java.lang.NoClassDefFoundError: sun/io/CharToByteConverter
when using sqlj to compile SQLJ source file.
The CLASSPATH (partial) .:$ORACLE_HOME/sqlj/lib/translator.zip:$ORACLE_HOME/sqlj/lib/runtime.zip
I am able to compile the demo TestInstallCreateTable.java and TestInstallJDBC.java but not TestInstallSQLJ.sqlj in the same directory.
I am using Oracle 8.1.6 R2 client in Linux Intel on Red Hat 6.0. Can anyone explain why this happened ?From the forthcoming new version of the SQLJ FAQ:
"NoClassDefFoundError: sun/io/CharToByteConverter"
(This is likely a general configuration issue, not something specific to your code.)
Running sqlj results in the following error message.
java.lang.NoClassDefFoundError: sun/io/CharToByteConverter
at sqlj.tools.Sqlj.initializeErrors(Sqlj.java:519)
This happens if you are running under a JRE environment, and not a full JDK environment. You need to download and install a full JDK environment. Note that the Oracle
database installation will only set up a Java Runtime Environment. Oracle does not distribute the Java Development Kit - you have to get it from http://java.sun.com
If that did not help, you'd need to give us a fuller picture of your environmnet (JDK versions, PATH, CLASSPATH settings, etc.).
Thanks! -
DMSConsole Runtime Exception stack trace: java.lang.NoClassDefFoundError
I think this is the right place to post the problem.
I've already posted my problem here ->
https://forums.oracle.com/forums/thread.jspa?threadID=2386699&tstart=0
Can you please let me know where am I missing?
Thanks.
It is removed from this link.
Edited by: OraNew2 on May 9, 2012 9:12 AMHere is the post again ->
Hi All,
I'm not sure whether this is a right area to post this problem or not. Not finding any suitable site to post.
Kindly direct me in case if it is the wrong area.
Let start my problem.
We are configuring our cognos in Linux environment. And, our DB is Oracle 11g Release 2.
Kindly find the details are as follows -
*1. Oracle version ->*
[oracle@pult ~]$ sqlplus xx/xx@BPI
SQL*Plus: Release 11.2.0.1.0 Production on Wed May 9 20:07:33 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL>
SQL>
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL>
SQL>*2. Kindly find the Java version ->*
[cognos@pult ~]$ which java
/opt/jdk1.6.0_32/bin/java
[cognos@pult ~]$ java -version
java version "1.6.0_32"
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
Java HotSpot(TM) Server VM (build 20.7-b02, mixed mode)
[cognos@pult ~]$*3. Kindly find the JAVA path details ->*
#Java Settings
export JAVA_HOME=/opt/jdk1.6.0_32
export PATH=$PATH:/opt/jdk1.6.0_32/bin:/opt/jdk1.6.0_32/lib:/home/cognos/c8:/home/cognos/c8/webapps/p2pd/WEB-INF/lib
export CLASSPATH=$CLASSPATH:/home/cognos:/opt/jdk1.6.0_32/bin:/opt/jdk1.6.0_32/lib:/home/cognos/c8:$ORACLE_HOME/lib:/home/cognos/c8/webapps/p2pd/WEB-INF/lib*4. To start the cognos we have to copy few files from Oracle lib directory to under the following cognos directory ->*
/home/cognos/c8/webapps/p2pd/WEB-INF/lib*5. And, those copied files are ->*
-rwxr-xr-x 1 cognos cognos8 168461 Oct 30 2009 CognosCCL4J.jar
-rwxr-xr-x 1 cognos cognos8 20355 May 7 12:17 simplefan.jar
-rwxr-xr-x 1 cognos cognos8 2111220 May 7 12:17 ojdbc6.jar
-rwxr-xr-x 1 cognos cognos8 3401519 May 7 12:17 ojdbc6_g.jar
-rwxr-xr-x 1 cognos cognos8 2655741 May 7 12:17 ojdbc6dms.jar
-rwxr-xr-x 1 cognos cognos8 3423263 May 7 12:17 ojdbc6dms_g.jar
-rwxr-xr-x 1 cognos cognos8 1996228 May 7 12:17 ojdbc5.jar
-rwxr-xr-x 1 cognos cognos8 3081328 May 7 12:17 ojdbc5_g.jar
-rwxr-xr-x 1 cognos cognos8 2429777 May 7 12:17 ojdbc5dms.jar
-rwxr-xr-x 1 cognos cognos8 3101875 May 7 12:17 ojdbc5dms_g.jar
[cognos@pult lib]$
[cognos@pult lib]$*6. Linux version (32 bit) ->*
[cognos@pult ~]$ cat /proc/version
Linux version 2.6.18-274.7.1.el5PAE ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Mon Oct 17 12:05:46 EDT 2011
[cognos@pult ~]$
[cognos@pult ~]$*7. Cognos Version ->*
Cognos 8.4.1 Linux (32 bit)Now, the problem is ->
Whenever we tries to start the cognos service - It throws the following errors ->
Successfully launched a test JVM with the memory setting of '768'. Note that this does not guarantee that IBM Cognos 8 will start and run successfully.
To see which JVM options are based on this setting, view c8_location/bin/bootstrap_<OS>.xml and see your JVM documentation for an explanation of those options.
10:57:12, 'LogService', 'StartService', 'Success'.
10:57:15, 'ContentManager', 'getActiveContentManager', 'Failure'.
DPR-CMI-4006 Unable to determine the active Content Manager. Will retry periodically.
10:57:15, 'ContentManager', 'getActiveContentManager', 'Failure'.
DPR-CMI-4006 Unable to determine the active Content Manager. Will retry periodically.
10:57:16, 'AgentService', 'StopService', 'Success'.
10:57:16, 'AgentService', 'StopService', 'Success'.
10:57:16, 'MonitorService', 'StopService', 'Success'.
10:57:16, 'MonitorService', 'StopService', 'Success'.
10:57:16, 'DeliveryService', 'StopService', 'Success'.
10:57:16, 'DeliveryService', 'StopService', 'Success'.
10:57:16, 'JobService', 'StopService', 'Success'.
10:57:16, 'JobService', 'StopService', 'Success'.
10:57:16, 'com.cognos.pogo.services.DefaultHandlerService', 'pogo', 'Failure'.
DPR-DPR-1035 Dispatcher detected an error.
10:57:16, 'com.cognos.pogo.services.DefaultHandlerService', 'pogo', 'Failure'.
DPR-DPR-1035 Dispatcher detected an error.
10:57:16, 'CPS Producer Registration Service', 'StopService', 'Success'.
10:57:16, 'CPS Producer Registration Service', 'StopService', 'Success'.
10:57:15, 'com.cognos.pogo.contentmanager.coordinator.ActiveCMControl', 'pogo', 'Failure'.
DPR-DPR-1035 Dispatcher detected an error.
10:57:15, 'com.cognos.pogo.contentmanager.coordinator.ActiveCMControl', 'pogo', 'Failure'.
DPR-DPR-1035 Dispatcher detected an error.
10:57:15, CM-SYS-5007 Content Manager build 8.4.6013.0 failed to start!
Review the Content Manager log files and then contact your system administrator or customer support.
Cause: oracle/dms/console/DMSConsole Runtime Exception stack trace:
java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole
at oracle.jdbc.driver.DMSFactory.<clinit>(DMSFactory.java:45)
at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:4203)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:629)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:218)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:538)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.cognos.cm.dbstore.CMDbStoreFactory.getJDBCConnection(CMDbStoreFactory.java:2087)
at com.cognos.cm.dbstore.CMDbStoreFactory.getInitialConnection(CMDbStoreFactory.java:1937)
at com.cognos.cm.dbstore.CMDbStoreFactory.initContentIndependentBeforeLock(CMDbStoreFactory.java:2111)
at com.cognos.cm.dbstore.CMDbStore.initializeContentIndependentBeforeLock(CMDbStore.java:4596)
at com.cognos.cm.server.CMServlet.initializeContentStoreContentIndependentBeforeLock(CMServlet.java:2321)
at com.cognos.cm.server.CMServlet.init(CMServlet.java:2046)
at com.cognos.cm.server.ContentManager.start(ContentManager.java:314)
at com.cognos.cm.server.ContentManagerLifecycleHandler.start(ContentManagerLifecycleHandler.java:73)
at com.cognos.pogo.services.DefaultHandlerService.start(DefaultHandlerService.java:111)
at com.cognos.pogo.services.DispatcherServices.startInititalServices(DispatcherServices.java:426)
at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:688)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: oracle.dms.console.DMSConsole at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1444)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
at com.cognos.pogo.isolation.ParanoidClassLoader.findClassParentLast(ParanoidClassLoader.java:186)
at com.cognos.pogo.isolation.ParanoidClassLoader.loadClass(ParanoidClassLoader.java:164)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 20 more
10:57:15,
CM-SYS-5007 Content Manager build 8.4.6013.0 failed to start!
Review the Content Manager log files and then contact your system administrator or customer support.
Cause: oracle/dms/console/DMSConsole Runtime Exception stack trace: java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole
at oracle.jdbc.driver.DMSFactory.<clinit>(DMSFactory.java:45)
at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:4203)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:629)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:218)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:538)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at com.cognos.cm.dbstore.CMDbStoreFactory.getJDBCConnection(CMDbStoreFactory.java:2087)
at com.cognos.cm.dbstore.CMDbStoreFactory.getInitialConnection(CMDbStoreFactory.java:1937)
at com.cognos.cm.dbstore.CMDbStoreFactory.initContentIndependentBeforeLock(CMDbStoreFactory.java:2111)
at com.cognos.cm.dbstore.CMDbStore.initializeContentIndependentBeforeLock(CMDbStore.java:4596)
at com.cognos.cm.server.CMServlet.initializeContentStoreContentIndependentBeforeLock(CMServlet.java:2321)
at com.cognos.cm.server.CMServlet.init(CMServlet.java:2046)
at com.cognos.cm.server.ContentManager.start(ContentManager.java:314)
at com.cognos.cm.server.ContentManagerLifecycleHandler.start(ContentManagerLifecycleHandler.java:73)
at com.cognos.pogo.services.DefaultHandlerService.start(DefaultHandlerService.java:111)
at com.cognos.pogo.services.DispatcherServices.startInititalServices(DispatcherServices.java:426)
at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:688)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: oracle.dms.console.DMSConsole
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1444)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1289)
at com.cognos.pogo.isolation.ParanoidClassLoader.findClassParentLast(ParanoidClassLoader.java:186)
at com.cognos.pogo.isolation.ParanoidClassLoader.loadClass(ParanoidClassLoader.java:164)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 20 more
10:57:16, 'ContentManagerService', 'StopService', 'Success'.
10:57:16, 'ContentManagerService', 'StopService', 'Success'.
10:57:16, 'MetadataService', 'StopService', 'Success'.
10:57:16, 'MetadataService', 'StopService', 'Success'.
10:57:16, 'SystemService', 'StopService', 'Success'.
10:57:16, 'SystemService', 'StopService', 'Success'.
10:57:16, 'BatchReportService', 'StopService', 'Success'.
10:57:16, 'BatchReportService', 'StopService', 'Success'.
10:57:16, 'ReportDataService', 'StopService', 'Success'.
10:57:16, 'ReportDataService', 'StopService', 'Success'.
10:57:16, 'EventService', 'StopService', 'Success'.
10:57:16, 'EventService', 'StopService', 'Success'.
10:57:16, 'ReportService', 'StopService', 'Success'.
10:57:16, 'ReportService', 'StopService', 'Success'.
10:57:16, 'LogService', 'StopService', 'Success'.
10:57:16, 'LogService', 'StopService', 'Success'.
[ ERROR ] CFG-ERR-0103 Unable to start IBM Cognos 8 service.
Execution of the external process returns an error code value of '1'.Not sure where went wrong. Already followed many suggestions are already there in different sites. But, so far no luck.
Is there any path I need to add in CLASSPATH other than what I have?
Also, check few oracle docs regarding the same. But, nothing can eliminate this problem.
Can you please suggest?
Really appreciate your time for reading this.
Thanks. -
Hi All,
Need expertise help to resolve the issue I am getting with Oracle Report builder.
I have installed and configured Oracle Forms and Reports Builder 11g on my Windows 7 & 64 bit machine.
Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
It says
The error is;
java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/XMLParserException
once I close th eabove error window, then it says java.lang.NullPOinterException.
I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
@echo off
@echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
@echo Starting Reports 11g Builder...
setlocal
call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
@echo on
start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
@echo off
endlocal
:end
@echo on
But report builder is not working. (Error comes when launching the Report Builder ).
Quick support is highly appreciated.
Thanks
MudithaHi All,
Need expertise help to resolve the issue I am getting with Oracle Report builder.
I have installed and configured Oracle Forms and Reports Builder 11g on my Windows 7 & 64 bit machine.
Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
It says
The error is;
java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/XMLParserException
once I close th eabove error window, then it says java.lang.NullPOinterException.
I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
@echo off
@echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
@echo Starting Reports 11g Builder...
setlocal
call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
@echo on
start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
@echo off
endlocal
:end
@echo on
But report builder is not working. (Error comes when launching the Report Builder ).
Quick support is highly appreciated.
Thanks
Muditha -
Exception in thread "main" java.lang.NoClassDefFoundError: Helloworld
Hi Java Experts,
I am at a lost to how Java searches for all the classes when running a program. Below are the following steps I have taken to try a simple basic HelloWorld.java program on the command prompt on Windows XP (SP2) platform:
( i ) Installed both jdk1.5.0_09 and Netbeans IDE 5.0 and working properly.
( ii ) The source file is located in F:\Documents and Settings\abc\HeadFirstDesignPattern\src\ch11 and the compiled file is in F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes\ch11 which was compiled in Netbeans.
( iii ) No problem compiling & running this program in Netbeans.
( iv ) The RUN CLASSPATH in Netbeans is F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes.
( v ) No CLASSPATH variable has been set.
( vi ) The HelloWorld program looks like this:
package ch11;
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
( vi ) Got the message
"Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld"
when running a combination of the following Java commands:
( a ) cd F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes
( b ) java HelloWorld, or
java -cp . HelloWorld or java -cp "." HelloWorld, or
java -cp F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes HelloWorld or "F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes" HelloWorld, or
java -cp F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes;. HelloWorld or "F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes";. HelloWorld, or
java -cp "F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes";. HelloWorld or "F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes";"." HelloWorld, or
java -cp "F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes";. HelloWorld or "F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes";"." ch11\HelloWorld.
It is the package location which is a subdirectory of F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes which caused Java not to find this program. I had no problem running it if the HelloWorld.java was moved one level up. ie from F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes\ch11 to F:\Documents and Settings\abc\HeadFirstDesignPattern\build\classes.
I have written Java in the last year mostly on Netbeans without any problem running them.
The reason for having to learn to run Java on the command line is so that I could add arguments to the program which I couldn't do in Netbeans just yet.
I have gone through a lot of the articles from Java forums, Google searches but yet to have found a solution.
Many thanks,
Netbeans FanI am getting the same problem when running the same program on a Fedora 4.0 (Redhat Linux 10) system, together with Netbeans 5.5 and JDK1.5.0_09. Again, I have no such problem when running the same program in Netbeans.
Here are the steps that I have taken as follows:
$ hostname
spisu07.stvincents.com.au
$ uname -a
Linux spisu07.stvincents.com.au 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686
$ pwd
/home/dbi/HeadFirstDesignPattern/build/classes/ch11a
$ cd ..
$ pwd
/home/dbi/HeadFirstDesignPattern/build/classes
$ ls
ch11a
$ ls ch11a
GumballMachine.class GumballMonitor.class NoQuarterState.class State.class
GumballMachineRemote.class GumballMonitorTestDrive.class SoldOutState.class WinnerState.class
GumballMachineTestDrive.class HasQuarterState.class SoldState.class
$ java -cp . ch11a.GumballMachineTestDrive
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: ch11a.GumballMachineTestDrive
at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)file:///usr/share/doc/HTML/index.html
...4 more
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/netbeans-5.5/bin:/etc/alternatives/.:/opt/netbeans-5.5/bin:/opt/jdk1.5.0_09:/etc/alternatives/.
$ echo $JAVA_HOME
$ echo $CLASSPATH
Any suggestions?
Thanks,
Henry
Maybe you are looking for
-
Is there any way to take an itunes gift card off of my account after it has been redeemed?
If so, how? I have redeemed my gift card but share my account with my sister. I would like to take off the remaining balance of the gift card (to use later) so my sister can use her own money to buy content. How can you do this?
-
How to set default color and font?
Where do I set a default font and color for my outgoing mail? I looked in the preferences but when you change it there, it changes it for all emails, incoming and out going. Isn't there a way to have different fonts for the outgoing than for the inco
-
T40's Left Shift key makes right click/context menu appear?
Hello All- On my T40, on which I just recently got Windows 7 correctly installed, has a curious behavior: When I press the left shift key, it functions the same as if I had pressed the right mouse button. It functions correctly otherwise, I.E., when
-
All my contacts got deleted from my iphone 4s. How do I transfor them from icloud back to my phone?
-
Right click select node in tree (for a standalone Air app)?
For the sake of userfriendliness (in regard to a context menu) I wold like to "move" the selected node in a tree to the node that currently has the focus when right clicking it - like how the context menu access in windows file explorer works (focus