Exception in thread "main" java.lang.NoClassDefFoundError: JdbcExample1 (wr
Tthe program is getting compiled fine . After that I am giving hte command
java JdbcExample1
The error messge that comes is :
Exception in thread "main" java.lang.NoClassDefFoundError: JdbcExample1 (wrong name: com/stardeveloper/example/JdbcExample1)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
MY computer settings
Java is installed in : c:\jdk1.3
Classpath is
C:\com\stardeveloper\example;C:\Documents and Settings\abhijeet\Desktop;c:\jdk1.3\bin;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\ext\mysql-connector-java-3.1.12-bin.jar;C:\com\stardeveloper\example\JdbcExample2\mysql-connector-java-3.1.12-bin.jar;c:\jdk1.3\bin;c:program files\java\j2re1.4.2_11\bin\;C:\jdk1.3\jre\bin;%CLASSPATH%;
CODE is :
package com.stardeveloper.example;
import java.sql.*;
public class JdbcExample1 {
public static void main(String args[]) {
Connection con = null;
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql:///test", "root", "desertgot123");
if(!con.isClosed())
System.out.println("Successfully connected to MySQL server...");
} catch(Exception e) {
System.err.println("Exception: " + e.getMessage());
} finally {
try {
if(con != null)
con.close();
} catch(SQLException e) {}
}
Thanks a lot all.....the code has started working but the reason for its running and non running remain unclear...
1)When you give the command java JdbcExample1 inside the directory structure c:\com\startdeveloper\example ,it does not work
\2) Including c:\ in the classpath also did not help
3) Now after removing c:\ from the classpath and then going ot the c:\ i gave the command java com.stardeveloper.example.JdbcExample1. Voila it stated working.
Some advice needed from you all guys..the way out to buil a databas e driven website seems seriously very complicated if this keeps happening.IS there any GUI based tool hat can help.
Thanks a lot
abhijeet
Similar Messages
-
Exception in thread "main" java.lang.NoClassDefFoundError: JdbcExample1/
Dear all ,I am getting the following eror message while using JDBC to connect to MYSQL
Exception in thread "main" java.lang.NoClassDefFoundError: JdbcExample1/class
The code comiles fine but when i run it the error comes.
The java code used is as follows and it is in the directory c:\com\stardeveloper\example
The classpath is set as
classpath= .;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\ext\mysql-connector-java-3.1.12-bin.jar;C:\com\stardeveloper\example\mysql-connector-java-3.1.12-bin.jar
JAVA_HOME= C:\jdk1.3
Java is installed in : C:\jdk1.3
The mysql-connector-java-3.1.12-bin.jar is in the folder wher the code is i.e. C:\com\stardeveloper\example
THE CODE IS AS FOLLOWS:
package com.stardeveloper.example;
import java.sql.*;
public class JdbcExample1 {
public static void main(String args[]) {
Connection con = null;
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
con = DriverManager.getConnection("jdbc:mysql:///test", "root", "desertgot123");
if(!con.isClosed())
System.out.println("Successfully connected to MySQL server...");
} catch(Exception e) {
System.err.println("Exception: " + e.getMessage());
} finally {
try {
if(con != null)
con.close();
} catch(SQLException e) {}
Please help
Thanks in advance
Regards
AbhijeetClasspath is C:\com\stardeveloper\example;C:\Documents and Settings\abhijeet\Desktop;c:\jdk1.3\bin;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\jre\lib\ext\mysql-connector-java-3.1.12-bin.jar;C:\com\stardeveloper\example\JdbcExample2\mysql-connector-java-3.1.12-bin.jar;c:\jdk1.3\bin;c:program files\java\j2re1.4.2_11\bin\;C:\jdk1.3\jre\bin;%CLASSPATH%;
the program is getting compiled fine . After that I am giving hte command
java JdbcExample1
The error messge that comes is :
Exception in thread "main" java.lang.NoClassDefFoundError: JdbcExample1 (wrong n
ame: com/stardeveloper/example/JdbcExample1)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source) -
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.
-
Hi,
system i am using for Oracle SOA is :
Windows 64 Bit
i5 Processor
6 GB RAM
29 GB on C Drive is already free after installation of all SOA related products.
I have installed wlserver_10.3 for SOA 11g Development purpose and followed exact installation sequence and procedure as mention in oracle documentation
i created domain also and every thing look correct but after installation procedure there are "Additional actions required just after every thing installed" :
setting memory limit
starting weblogic server (Admin Server)
starting weblogic managed server
and so on
now Problem is when i execute C:\Oracle\Middleware\user_projects\domains\soa_div_domain\bin startWebLogic.cmd
as mention in oracle documentation i am getting following error message : (i have only included last error lines instead of complete console log)
oConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\
sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_oepe180\profiles\default\syse
xt_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sysext_ma
nifest_classpath;C:\Oracle\MIDDLE~1\patch_adfr1111\profiles\default\sysext_manif
est_classpath weblogic.Server
Listening for transport dt_socket at address: 8453
Exception in thread "main" java.lang.NoClassDefFoundError: vXmx512m
Caused by: java.lang.ClassNotFoundException: vXmx512m
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: ++Xmx512m. Program will exit.
Now to resolve this what i already tried are :
I change JAVA_HOME and PATH to jdk6 which came with web logic installer
Location is at :
JAVA_HOME : C:\Oracle\Middleware\jdk160_29
PATH : C:\Oracle\Middleware\jdk160_29\bin
The above dose not include any space between path
I ran the startWebLogic.cmd and got same error
After that I also added
CLASSPATH : C:\Oracle\Middleware\jdk160_29\lib\tool.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\jdk160_29\bin
WL_HOME: C:\Oracle\Middleware\wlserver_10.3
I ran the startWebLogic.cmd and got same error
I also used earlier path which I used with eclipse when I was working on other java development.
JAVA_HOME : C:\Program Files\Java\jdk1.7.0_21
PATH : C:\Program Files\Java\jdk1.7.0_21\bin
I ran the startWebLogic.cmd and got same error
Then I also gave PATH: C:\Oracle\Middleware\wlserver_10.3\server\lib (including the existing one using ; )
I ran the startWebLogic.cmd and got same error
Now may be there is a file called setSOADomainEnv.cmd in
< C:\Oracle\Middleware\user_projects\domains\soa_div_domain\bin\ setSOADomainEnv.cmd>
That include some values for memory set :
set JAVA_OPTIONS=%JAVA_OPTIONS%
set DEFAULT_MEM_ARGS=-Xms512m –Xmx512m
set PORT_MEM_ARGS=-Xms512m –Xmx768m
if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=768m
set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=768m
now as I change the red highlighted value to 512 value because I have less memory resource and I checked in installation documentation to change the above red highlighted value to 512 original is 1024 which is too high and it was crating problem and showing memory space problem so I change it to 512 and now I am not getting that memory space problem error but may be the above error is related with change value in setSOADomainEnv.cmd file or not
Following are my domain, weblogic and soa home directory path and all these path are exactly what it suppose to be according to Oracle Installation Documentation:
WebLogic :
C:\Oracle\Middleware\wlserver_10.3
C:\Oracle\Middleware\coherence_3.7
C:\Oracle\Middleware\oepe_11.1.1.8.0
SOA Oracle Home Directory :
C:\Oracle\Middleware\Oracle_SOA1
OSB Home Location :
C:\Oracle\Middleware\Oracle_OSB1
Domain name : soa_div_domain
Domain Location : C:\Oracle\Middleware\user_projects\domains
Application Location : C:\Oracle\Middleware\user_projects\applications
Domain Location: C:\Oracle\Middleware\user_projects\domains\soa_div_domain
form here i am trying to start weblogic : C:\Oracle\Middleware\user_projects\domains\soa_div_domain\bin\startWebLogic.cmd
Please tell me any body want more details.
Thanks.I think you are missing a character '-'
USER_MEM_ARGS="Xms512m -Xmx512m -XX:MaxPermSize=128m"Add this character like follows
"-Xms512m -Xmx512m -XX:MaxPermSize=128m" -
Hi,
I have created a class JaxmClient.java. When I compile the class with appropriate jar files assigned to -classpath it compiles successfully with no errors. But when I run the classe "java JaxmClient" it produces the following exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPElement
Can someone help me I am knew to this technology.
Thanks in advanceI tried to use in my execution all the jar files that I used for compilation.
java -cp jaxm-jar; etc.jar Request
but it still gives me this execption
Exception in thread "main" java.lang.NoClassDefFoundError: Request
I am in the right directory where is the Request.class file is and it is present in this directory....
Thanks appreciate your help... -
I am trying to develop a web service client for amazon webservice.but i am getting this error while running the app. Can anyone please help me. I have installed the JWSDP and but could not understand why i have to locate all the jar files in the classpath?Please help.
===== error=========================================
C:\abr\classes>java -classpath c:\abr\test.jar;C:\abr\jaxrpc-api.jar;C:\abr\jaxrpc-impl.jar;C:\abr\jaxrpc-spi.jar;c:\abr\classes\amazon.jar;C:\abr\mail.jar;C:\a
br\saaj-api.jar;C:\abr\activation.jar;c:\abr\FastInfoset.jar;%classpath% Client
[b]Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream/XMLS
treamWriter
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.
java:672)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:87)
at amazon.AmazonSearchPort_Stub.authorSearchRequest(AmazonSearchPort_Stu
b.java:988)
at Client.main(Client.java:21)I'm assuming you're using JWSDP 1.6 as I see Fastinfoset.jar in your list. You are missing some jar files in your classpath there. The best way to know what you need is to look at the release notes for JWSDP 1.6. Since you're building a web serivce start with the table in there and lookup JAX-RPC. It'll show you what jar files are needed and what other libraries are needed. Now depending on what you're doing you don't really need all those.
For sure you're missing jsr173_api.jar which is where I believe that class you need is located. This is in the JWSDP_1_6\sjsxp\lib directory. You will probably need the other jar thats in there too. Best bet is to follow the dependancy chart in the release notes.
This should get you going.
Ryan -
I want to run an jar file so on command prompt i am giving the command
" java -jar jSimpleX_3.0.jar "
I am getting the following error:
"exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/SAXException "
Can any body explain the reason of this exception
Thanks in advance.Hi
I am getting an exception while running code of "
Reading an XML file in Java"
The error is " Exception in thread "main"
java.lang.NoClassDefFoundError:
org/xml/sax/SAXException "
I am using j2sdk1.4.0 and j2sdk1.4.2_13 and both are
containing rt.jar file. But still i am receiving the
same Error Exception.
Can anybody there help me out.
Thanks in Advance. !!!!Please help me out. Its urgent !!!!!!!!!!!!!!!!!!!!!!! -
Exception in thread main java.lang.NoClassDefFoundError: com/object/msg/SmsService
caused by: java.lang.NotFoundException: com.object.msg.SmsService
at java.net........................
at java.security.......
I'm trying to send SMS using this code and it gives above Exception during Runtime.
import java.io.File;
import com.objectxp.msg.*;
public class SendSMS
public static void main(String[] args)
SmsService service = null;
try {
// Configuration
File config = new File("jsms.conf");
// create service object.
service = new GsmSmsService();
service.init(config);
// create a new Message.
Message msg = new Message();
msg.setRecipient("7894561");
msg.setMessage("jSMS is cool!");
// Connect to the device
service.connect();
// send the Message
service.sendMessage(msg);
System.out.println("Message sent successfully, ID is ");
} catch (Exception ex) {
System.err.println("Message could not be sent: "+ex.getMessage());
ex.printStackTrace();
} finally {
if (service != null) {
try {
service.disconnect();
} catch( Exception unknown ) {}
service.destroy();
}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. -
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
XSLException
Hi
I have downloaded XDK and was trying to use the XSU feature..
I unzipped the XDK file, I ran the following query on SQL plus
select * from emp. It displayed the full table.
Then i set the class path for XDK,XMLparserv2,oracle JDBC driver and then ran the same query on dos prompt(that is front end command line for java in my case).
The following is the line i tried to execute on the command prompt
java OracleXML getXML -user "scott/tiger" -conn "jdbc:oracle:thin:@localhost
:1521:PomonaT" "select * from emp"
PomonaT is the db name(Host string i use to enter SQL+)
I get the following error
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
XSLException
at OracleXML.To_XML(OracleXML.java:1038)
at OracleXML.ExecuteGetXML(OracleXML.java:917)
at OracleXML.main(OracleXML.java:184)
IS SOMETHING MISSING IN MY CLASSPATH??
IF YES? Could anyone tell what??
KunalAdd xmlparserv2.jar to Classpath & reboot.
-
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldSwing
Hello;
I got a error to run my application, i have not problem with compile it. But it give me the following error massage when i run it.
Could anyone help me please.
E:\Java>javac HelloWorldSwing.java
E:\Java>java HelloWorldSwing
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldSwing
E:\Java>path
PATH=C:\Program Files\Java\jdk1.6.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\
Program Files\Common Files\Adobe\AGL;C:\Program Files\Microsoft SQL Server\80\To
ols\BINN;C:\Program Files\Java\jre1.6.0\bin;C:\Program Files\Java\jre1.6.0\bin;C
:\Program Files\Java\j2re1.4.2_13\bin
The following are where my jdk and jre store.
C:\Program Files\Java>dir
Volume in drive C has no label.
Volume Serial Number is 3023-229B
Directory of C:\Program Files\Java
04/02/2007 12:22 AM <DIR> .
04/02/2007 12:22 AM <DIR> ..
01/02/2007 10:54 PM <DIR> j2re1.4.2_13
03/02/2007 04:54 PM <DIR> jdk1.6.0
01/02/2007 10:02 PM <DIR> jre1.5.0_06
04/02/2007 12:22 AM <DIR> jre1.6.0
0 File(s) 0 bytes
6 Dir(s) 5,761,228,800 bytes freeIt even tries to tell you what's wrong. Run class "start.HelloWorldSwing", not "HelloWorldSwing".
I bet that copying that error message without the class name into Google would have given you the answer right away. -
Exception in thread "main" java.lang.NoClassDefFoundError: Springer
Hi,
i'm trying to programm the knight-problem, but i am not sure, that the Code is right:
public class Springer {
public static int[] sx = new int[10];
public static int[] sy = new int[10];
public static int[][] feld;
public static int nquad;
// Springzuege:
void init(int[] sx,int[] sy,int[][] feld,int n,int nquad) {
//Pringerzuege
sx[1] = 2; sy [1] = 1;
sx[2] = 1; sy [2] = 2;
sx[3] = -1; sy [3] = 2;
sx[4] = -2; sy [4] = 1;
sx[5] = -2; sy [5] = -1;
sx[6] = -1; sy [6] = -2;
sx[7] = 1; sy [7] = -2;
sx[8] = 2; sy [8] = -1;
// Schachbrett Inizialisation
for(int i=0; i<8; ++i){
for(int j=0; j<8; ++j){
feld[i][j]=-1; //Umrandung = -1
for(int i=2; i<=5; ++i){
for(int j=2; j<=5; ++j){
feld[i][j]=0; //Spielfelder auf 0 setzen
nquad=n*n;
boolean zug(int x,int y,int tiefe) {
int u; // Index
int v; // Index
int k=1; //zaehlt die 8 Moeglichkeiten
boolean erg=false; //bisher keine Loesung
while(!erg && k<=8) {
u=x + sx[k];
v=y + sy[k];
if(feld[u][v]==0) {
feld[u][v]=tiefe;
if(tiefe<nquad) {
erg=zug(u,v,tiefe+1); //Rekursion
if(!erg) //ruecksetzen
feld[u][v]=0;
else
erg=true; //Loesung gefunden
++k;
return erg;
public static void main(String [] args) {
int n;
int i=1;
int j=1;
boolean okay=false;
Springer s = new Springer();
s.init(sx,sy,feld,4,nquad);
feld[i][j]=1; //Anfangsfeld besetzen
okay=s.zug(i,j,2);
if(okay)
System.out.print("Ein solches Pfad ist gefunden");
else
System.out.print("Keine Loesung gefunden");
There is no errors by the compiling. But when i want to run the application follows:
Exception in thread "main" java.lang.NoClassDefFoundError: Springer
Can someone help me??
I need that program!A few more comments on your code...
- In Java arrays index start at 0 not at 1. You may want to change your init() method accordingly.
- In init() the parameter nquad hide the field of the same name so the assignment you make at the end of the method is lost
Hope this help,
Eric -
Hi,
I am new to SQLJ. Now, in my PC (with Win98), I have JDK 1.2 and Oracle 8i (personal edition). I have used Java and Oracle in my PC without any problem. Now, I am going to learn SQLJ in order to create a java program to access Oracle database. What I have done is to set up several classpaths in DOS:
SET classpath=C:\ora_program\sqlj\lib\translator.zip;
SET classpath=C:\ora_program\sqlj\lib\runtime.zip;
SET classpath=C:\ora_program\sqlj\lib\runtime12.zip;
SET classpath=C:\ora_program\jdbc\lib\classes12.zip;
The code of my program is:
import java.sql.Date;
import java.sql.SQLException;
import oracle.sqlj.runtime.Oracle;
import java.util.Date;
public class Hello{
public static void main(String[] args){
java.sql.Date current_date;
try{
// connect to the db
Oracle.connect(
"C:\ora_program\bin",
"system",
"manager");
// get the current date from the database
#sql{SELECT sysdate INTO :current_date FROM dual};
// display message
System.out.println("Hello, the current date is: "+ current_date);
catch(SQLException e){
System.err.println("sqlException: "+e);
finally{
try{
Oracle.close();
catch(SQLException e){
System.err.println("sqlException: "+e);
And then I compile my program in DOS with the typing: sqlj Hello.sqlj
The program cannot be compiled and the error message is:
"Exception in thread main java.lang.NoClassDefFoundError: sqlj/tools/Sqlj"
It indicates that the SQLJ translator class files cannot be found.
I have set up the classpath in DOS (see above). How does the error come? Please help. Thanks.
PC>
SET classpath=C:\ora_program\sqlj\lib\translator.zip;
SET classpath=C:\ora_program\sqlj\lib\runtime.zip;
SET classpath=C:\ora_program\sqlj\lib\runtime12.zip;
SET classpath=C:\ora_program\jdbc\lib\classes12.zip;
The above only sets the classpath to the last value. You need to use the following.
SET classpath=%classpath%;C:\ora_program\sqlj\lib\runtime.zip; -
Debian jdk 1.5 Exception in thread "main" java.lang.NoClassDefFoundError:
Hi people!
My problem is that I"ve installed jdk 1.5 on Debian (without problems) and I want to run my java program. I get
Exception in thread "main" java.lang.NoClassDefFoundError: /home/me/GermanAnnotations/build/classes/GermanAnnotations
although this class exists and runs perfectly under Windows.
Please, help!
NataThis sounds like someone is including the ".class" in a class name. For example, when I compile a java application, it may be in a package like "tld.mydomain.package". When I run it I might say:
java -classpath classes tld.mydomain.package.ClassNamebut a common mistake is to include the ".class":
java -classpath classes tld.mydomain.package.ClassName.classwhich would produce an output similar to what you're seeing. -
I am trying to add jdbc to my project and find that jdbc components seem to be missing
compiles and runs fine in IDE
but when I try to run outside IDE I get this error
Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/lib/sql/
DataNavigatorhere is my log file
Log Session: Sunday, May 22, 2005 10:17:39 PM EDT
System Info: Product Version = Sun(tm) Java(tm) Studio Enterprise 7 2004Q4 (Build 041123)
IDE Versioning = IDE/1 spec=4.26.1 impl=041123
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.4.2_05; Java HotSpot(TM) Client VM 1.4.2_05-b04; Sun Microsystems Inc.
Java Home = C:\j2sdk1.4.2_05\jre
System Locale; Encod. = en_US (f4j_ee); Cp1252
Home Dir; Current Dir = C:\Documents and Settings\dale; C:\Sun\jstudio_04Q4\Ent_04Q4\bin
IDE Install; User Dir = C:\Sun\jstudio_04Q4\Ent_04Q4; C:\Documents and Settings\dale\.jstudio\Ent04Q4
CLASSPATH = C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\boot.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\Describe.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\DescribeIDE.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\jaxen.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\logger.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\msv.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\parser.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\saxpath.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\Tidy.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgdtj55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgetj55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsglt55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgltc55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgltjava55.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\ext\tsgmtj55.jar;C:\j2sdk1.4.2_05\lib\dt.jar;C:\j2sdk1.4.2_05\lib\tools.jar;C:\Sun\jstudio_04Q4\AppServer7\pointbase\client_tools\lib\pbclient42RE.jar
Boot & ext classpath = C:\j2sdk1.4.2_05\jre\lib\rt.jar;C:\j2sdk1.4.2_05\jre\lib\i18n.jar;C:\j2sdk1.4.2_05\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_05\jre\lib\jsse.jar;C:\j2sdk1.4.2_05\jre\lib\jce.jar;C:\j2sdk1.4.2_05\jre\lib\charsets.jar;C:\j2sdk1.4.2_05\jre\classes;C:\j2sdk1.4.2_05\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_05\jre\lib\ext\jai_codec.jar;C:\j2sdk1.4.2_05\jre\lib\ext\jai_core.jar;C:\j2sdk1.4.2_05\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_05\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_05\jre\lib\ext\mlibwrapper_jai.jar;C:\j2sdk1.4.2_05\jre\lib\ext\sunjce_provider.jar
Dynamic classpath = C:\Sun\jstudio_04Q4\Ent_04Q4\lib\patches\TopLogging.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\core.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\openfile-cli.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\openide-loaders.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\openide.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\locale\core_f4j.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\locale\core_f4j_ee.jar;C:\Sun\jstudio_04Q4\Ent_04Q4\lib\locale\openide_f4j.jar
Patched TopLogging from crash-reporter.nbm
[org.netbeans.core.modules #4] Warning - had to upgrade dependencies for module com.sun.xml.registry1_0_01: added = [module org.netbeans.libs.xerces/1 > 1.2] removed = [package org.apache.xerces.parsers[SAXParser], package org.apache.xml.serialize[XMLSerializer]]; details: [Xerces is now available only as an autoload module, not in classpath: http://libs.netbeans.org/#xerces]
[org.netbeans.core.modules #4] Warning: the extension C:\Sun\jstudio_04Q4\Ent_04Q4\modules\autoload\ext\namespace1_3.jar may be multiply loaded by modules: [C:\Sun\jstudio_04Q4\Ent_04Q4\modules\autoload\jaxr-module-1-3.jar, C:\Sun\jstudio_04Q4\Ent_04Q4\modules\autoload\jax-qname-module.jar]; see: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/classpath.html#class-path
Module patch or custom extension: C:\Sun\jstudio_04Q4\Ent_04Q4\modules\patches\org-netbeans-modules-editor\codetemplatesPatches.jar
[org.netbeans.core.modules #4] Warning - had to upgrade dependencies for module org.netbeans.modules.jarpackager: added = [module org.netbeans.libs.regexp > 1.2] removed = [package org.apache.regexp > 1.2]; details: [Regexp is now available only as an autoload module, not on classpath: http://libs.netbeans.org/#regexp]
[org.netbeans.core.modules #4] Warning - had to upgrade dependencies for module org.netbeans.modules.refactoring: added = [module org.openide.debugger > 1.0, token org.openide.compiler.CompilationEngine, module org.openide.compiler > 1.0, token org.openide.TopManager, module org.openide.execution > 1.0, token org.openide.windows.IOProvider, module org.openide.deprecated > 1.0, token org.openide.execution.ExecutionEngine] removed = []; details: [API separation phase I (#19443): http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I, API separation phase II (#19443): http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-II, Debugger API separation (#29914): http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-III]
[org.netbeans.core.modules #4] Warning - had to upgrade dependencies for module org.netbeans.modules.web.tomcat.tomcat40: added = [module org.netbeans.libs.xerces/1 > 1.2] removed = [package [org.apache.xml.serialize.EncodingInfo]]; details: [Xerces is now available only as an autoload module, not in classpath: http://libs.netbeans.org/#xerces]
[org.netbeans.core.modules #4] Warning - had to add recursive class loader dependencies for module org.netbeans.modules.refactoring on [org.netbeans.modules.classfile]; see http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-indirect-dep-cp
[org.netbeans.core.modules #4] Warning - had to add recursive class loader dependencies for module com.sun.forte4j.j2ee.debugger on [org.openidex.util, org.netbeans.modules.web.core, org.netbeans.modules.schema2beans, org.netbeans.api.xml, org.netbeans.modules.jarpackager, javax.activation, org.netbeans.modules.vcscore, org.netbeans.libs.jaxp, org.netbeans.libs.xerces, org.netbeans.modules.projects, org.netbeans.modules.logger, org.netbeans.modules.html, com.sun.forte4j.j2ee.lib, org.netbeans.modules.clazz, javax.mail, org.netbeans.modules.image, com.sun.forte4j.modules.depclass, org.netbeans.libs.regexp]; see http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-indirect-dep-cp
[org.netbeans.core.modules #6] Warning: the module org.netbeans.modules.jarpackager uses org.netbeans.libs.regexp which is deprecated: JDK 1.4 includes regular expression support which should be used instead: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.6-jre-regexp
[org.netbeans.core.modules #6] Warning: the module org.netbeans.modules.projects uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I
[org.netbeans.core.modules #6] Warning: the module org.netbeans.modules.refactoring uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I
[org.netbeans.core.modules #6] Warning: the module com.embarcadero.netbeans uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I
[org.netbeans.core.modules #6] Warning: the module com.sun.forte4j.j2ee.debugger uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-I
Type Groups Level Module Name
err * 255 * (Default)
Type Groups Level Module Name
err * 255 * (Default)
cfg 9 255 com.sun.forte4j.webdesigner
Last execution suffered an abnormal exit at Sunday, May 22, 2005 10:15:18 PM EDT
Log file not specified
Turning on modules:
org.openide/1 [4.26.1 041123]
org.openide.loaders [4.11.1 041123]
org.netbeans.core/1 [1.21.1 041123]
org.openide.io [1.1.1 041123]
org.netbeans.lib.terminalemulator [1.1.1 041123]
org.netbeans.core.output/1 [1.1.1 041123]
com.sun.tools.ide.collab/1 [7.0.0 041123]
com.sun.im [7.0.0 041123]
org.openide.src [1.1.1 041123]
org.openide.execution [1.1.1 041123]
org.openide.compiler [1.2.1 041123]
org.netbeans.core.compiler/1 [1.4.1 041123]
org.openide.debugger [1.1.1 041123]
org.netbeans.modules.editor/1 [1.14.1 041123]
org.netbeans.libs.xalan/1 [1.4.1 2.5.2]
org.netbeans.libs.jaxp/1 [1.2.1 1.1.2]
org.netbeans.api.xml/1 [1.3.1.3.6.0 3.6.0 041123]
org.netbeans.modules.xml.core/2 [1.1.1.3.6.0 3.6.0 041123]
org.netbeans.modules.xml.text/2 [1.1.1.3.6.0 3.6.0 041123]
org.netbeans.modules.classfile/1 [1.8 041123]
org.netbeans.core.execution/1 [1.3.1 041123]
org.netbeans.modules.clazz/1 [1.13.1 041123]
org.netbeans.modules.javahelp/1 [2.1.1 041123]
org.netbeans.modules.db/1 [1.8.2 041123]
com.sun.forte4j.modules.dbmodel.jdbcimpl/1 [7.0.0 041123]
org.openide.deprecated [1.3.1 041123]
org.netbeans.core.deprecated [1.3.1 041123]
org.netbeans.modules.debugger.core/3 [2.10.1 041123]
org.netbeans.modules.debugger.jpda/1 [1.17.1 041123]
org.netbeans.modules.j2eeserver/2 [1.7.3 041123]
org.apache.xalan [2.2.2 Xalan 2.2.0 release]
org.netbeans.modules.image/1 [1.11.1 041123]
javax.activation/1 [1.0.2 1.0.2]
javax.mail/1 [1.1.4 1.1.4]
org.netbeans.modules.logger/1 [1.5 041123]
com.sun.forte4j.modules.depclass/1 [2.4 041123]
org.openidex.util/2 [2.7.1 041123]
org.netbeans.modules.vcscore/1 [1.9.1 041123]
org.netbeans.libs.regexp [1.2.1 1.2]
org.netbeans.modules.jarpackager/2 [1.13.3 041123]
org.netbeans.modules.schema2beans/1 [1.4.3 041123]
org.netbeans.api.java/1 [1.3.1 041123]
org.netbeans.libs.xerces/1 [1.4.1 2.6.0]
org.netbeans.modules.java/1 [1.16.1 041123]
com.sun.ffj.modules.licensemgr/1 [7.0.0 041123]
com.sun.forte4j.j2ee.lib/1 [7.0.0 041123]
com.sun.forte4j.j2ee.ejb/1 [7.0.0 041123]
com.sun.forte4j.j2ee.ejbmodule/1 [7.0.0 041123]
org.netbeans.modules.projects/1 [1.14.1 041123]
org.netbeans.modules.html/1 [1.12.1 041123]
org.netbeans.modules.web.core/1 [1.16.3 041123]
com.sun.forte4j.j2ee.appasm/1 [7.0.0 041123]
com.sun.forte4j.j2ee.appclient/1 [7.0.0 041123]
com.sun.forte4j.j2ee.j2eeconn/1 [7.0.0 041123]
com.sun.forte4j.j2ee.importear/1 [7.0.0 041123]
org.netbeans.modules.diff/1 [1.7.1 041123]
org.netbeans.modules.vcs.advanced/1 [1.9.1 041123]
org.netbeans.modules.vcs.profiles.clearcase/1 [1.2 041123]
org.netbeans.modules.xml.catalog/2 [1.1.1.3.6.0 3.6.0 041123]
org.netbeans.modules.properties/1 [1.11.1 041123]
org.netbeans.modules.i18n/1 [1.14.1 041123]
org.netbeans.modules.javadoc/1 [1.11.1 041123]
javax.xml.namespace/1 [1.0 1.0]
com.sun.xml.messaging1_3/1 [1.0 1.0]
com.sun.xml.registry1_3/1 [1.0 1.0]
com.sun.tools.jaxrpc_cmn/1 [1.1 1.1]
com.sun.xml.rpc1_3/1 [1.0 1.0]
com.sun.forte4j.j2ee.wsdl/1 [7.0.0 041123]
org.netbeans.modules.servletapi23/1 [1.3.2 041123]
org.netbeans.modules.web.jspparser/1 [1.5.2 041123]
org.netbeans.modules.web.tomcat.tomcat40/1 [1.8.3 041123]
com.sun.forte4j.genericgenerator4/1 [1.1.1 020327]
org.netbeans.modules.web.ie/1 [1.15.3 041123]
com.sun.forte4j.webdesigner.xmlservice/1 [7.0.0 041123]
com.sun.tools.ide.j2eeant/1 [7.0.0 041123]
org.netbeans.modules.xml.schema/1 [1.1.1.3.6.0 3.6.0 041123]
org.netbeans.modules.filecopy/1 [1.11 041123]
org.netbeans.modules.group/1 [1.0.1 041123]
org.netbeans.modules.settings/1 [1.4.1 041123]
org.netbeans.tasklistapi/1 [1.7.1.2 2 041123]
org.netbeans.modules.tasklist.core/2 [1.22.1.26 6 041123]
org.netbeans.modules.suggestions_framework/2 [1.2.1.265 5 041123]
org.netbeans.modules.tasklist.docscan/2 [1.13.1.2653 3 041123]
com.sun.forte4j.codetemplates/1 [7.0.0 @BUILD_NUMBER_SUBST@]
com.sun.tools.vcsscc/1 [7.0.0 041123]
com.sun.tools.vcsscc.profiles.vss/1 [7.0.0 041123]
com.sun.forte4j.modules.pointbase/1 [7.0.0 041123]
org.netbeans.core.windows/2 [2.0.1 041123]
org.netbeans.core.ui/1 [1.3.1 041123]
org.netbeans.modules.utilities/1 [1.15.1 041123]
org.netbeans.modules.autoupdate/1 [2.8.1 041123]
org.netbeans.modules.welcome/1 [1.5.1 041123]
org.apache.soap [2.2.1 SOAP 2.2 release]
org.netbeans.lib.cvsclient/1 [1.8.1 041123]
org.netbeans.modules.vcs.profiles.cvsprofiles/1 [1.3.1 041123]
org.netbeans.modules.applet/1 [1.14.1 041123]
org.netbeans.modules.web.debug/1 [1.8.2 041123]
org.netbeans.modules.web.core.syntax/1 [1.12.3 041123]
com.sun.jato.tools.sunone.ee/1 [2.1.4 20041123.213634]
org.netbeans.modules.usersguide/1 [1.13.1 041123]
com.sun.forte4j.ee_examples/1 [7.0.0 041123]
org.netbeans.modules.css/2 [1.1.1.3.6.0 3.6.0 041123]
com.sun.tools.j2mews/1 [7.0.0 041123]
org.ksoap/1 [1.0.1 kSOAP release 1.0]
org.netbeans.modules.vcs.cmdline.compat/1 [1.3.1 041123]
org.netbeans.modules.form/2 [1.13.1 041123]
com.sun.tools.ide.collab.channel.mdc/1 [7.0.0 041123]
org.netbeans.modules.servletapi/1 [1.3.1 041123]
org.netbeans.modules.web.taglibed/1 [1.11.3 041123]
com.sun.tools.dbdrivers/1 [7.0.0 041123]
org.netbeans.modules.refactoring/1 [7.0.0 041123]
org.netbeans.modules.web.assemblee/1 [1.2.1 041123]
com.sun.tools.ide.portal.portlet/1 [1.0 041123]
com.sun.tools.crashreporter [7.0.0 041123]
org.netbeans.modules.text/1 [1.12.1 041123]
com.embarcadero.netbeans/2 [1.0 041123]
com.sun.tools.modules.cvsdisabler/1 [7.0.0 041123]
com.sun.tools.vcsscc.profiles.pvcs/1 [7.0.0 041123]
com.sun.tools.ide.collab.channel.chat/1 [7.0.0 041123]
org.netbeans.modules.i18n.form/2 [1.12 041123]
org.netbeans.modules.properties.syntax/1 [1.11 041123]
org.netbeans.modules.cvsclient/1 [2.0.1 041123]
com.sun.tools.ide.collab.channel.filesharing/1 [7.0.0 041123]
com.sun.forte4j.j2ee.ejbtest/1 [7.0.0 041123]
org.netbeans.modules.httpserver/1 [1.13.1 041123]
org.netbeans.modules.jdbc/1 [7.0.0 041123]
com.sun.jdo.modules.persistence.mapping.core/1 [7.0.0 041123]
com.sun.jdo.modules.persistence.mapping.ejb/1 [7.0.0 041123]
org.netbeans.modules.web.tomcat.tomcat40.autocompile/1 [7.0.0 041123]
org.netbeans.modules.junit/2 [2.11.1 041123]
com.sun.ffj.modules.registration/1 [7.0.0 041123]
org.netbeans.modules.xsl/1 [1.1.1.3.6.0 3.6.0 041123]
com.sun.forte4j.webdesigner.jwsdp/1 [7.0.0 041123]
org.netbeans.modules.extbrowser/1 [1.3.1 041123]
com.sun.forte4j.j2ee.debugger/1 [7.0.0 041123]
com.sun.xml.messaging1_0_01/1 [1.0 1.0]
com.sun.xml.rpc1_0_01/1 [1.0 1.0]
org.netbeans.modules.web.monitor/1 [1.8.3 041123]
org.netbeans.core.ide/1 [1.3.1 041123]
org.apache.tools.ant.module/3 [3.6.1 041123]
javax.portlet/1 [1.0 041123]
org.netbeans.modules.autoupdateffj/1 [7.0.0 041123 ]
com.sun.tools.profiler.monitor [7.2.4 041123]
org.netbeans.modules.beans/1 [1.11.1 041123]
com.sun.enterprise.webserver.tools/1 [7.0.0 PLUGINVERSION]
com.sun.portal.devtool/1 [1.0 041123]
com.sun.tools.ide.collab.ui/1 [7.0.0 041123]
org.netbeans.modules.xml.tax/2 [1.1.1.3.6.0 3.6.0 041123]
org.netbeans.modules.xml.tools/2 [1.1.1.3.6.0 3.6.0 041123]
com.sun.appserv.tools.forte/1 [7.0.0 041123]
org.netbeans.modules.web.dd.editors/1 [1.1.2 041123]
QuantumAutoupdateModule 1116814706515 starting check
Warning - org.netbeans.modules.projects.SetMainClassCookieAction should override CallableSystemAction.asynchronous() to return false
Warning - org.netbeans.modules.debugger.delegator.DefaultDebuggerType should have overridden startDebugger(DataObject,boolean); falling back on deprecated ExecInfo usage; see: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/upgrade.html#3.5i-sep-II-ExecInfo -
Exception in thread "main" java.lang.NoClassDefFoundError: Emp/class
Dear all,
It occur 'Exception in thread "main" java.lang.NoClassDefFoundError: Emp/class' error when I test a oracle java sample.I've already SET CLASSPATH=C:\ORACLE\JDBC\LIB\CLASSE~1.ZIP.
following is the source code:
import java.sql.*;
class Emp
public static void main (String args [])
throws SQLException
// Load the Oracle JDBC driver
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
// Connect to the database
// You must put a database name after the @ sign in the connection URL.
// You can use either the fully specified SQL*net syntax or a short cut
// syntax as <host>:<port>:<sid>. The example uses the short cut syntax.
Connection conn =
DriverManager.getConnection ("jdbc:oracle:oci8:@localhost:1521:orcl",
"scott", "tiger");
// Create a Statement
Statement stmt = conn.createStatement ();
// Select the ENAME column from the EMP table
ResultSet rset = stmt.executeQuery ("select ENAME from EMP");
// Iterate through the result and print the employee names
while (rset.next ())
System.out.println (rset.getString (1));
Can you tell me what should also be set in classpath?
thanks in advance.You are right, the program is absolutely correct and I've run it before.but why set PATH=%PATH%;C:\ORACLE\JDBC\LIB\CLASSE~1.ZIP?I don't think it is correct.
I've ever run this jdbc program before and remeber only set classpath(path is also be set only for run executable program, for example set path=%path%;c:\j2sdk\bin),
I think the only difference with before is:
1,oracle version is changed from enterprise version to personal version
2,OS is changed from NT to windows 98
but i dont know if it lead to problem and can you give me some advice?
Maybe you are looking for
-
HP touchsmart adding graphics card
I have a question. I have HP touchsmart computer, model 520-1070 uk with integrated graphics card HD 2000. Can I add better HD graphics card in format MXM to my computer ? It's very important to me, please help ! This question was solved. View Soluti
-
External Enclosure for Powerbook
I recently purchased an Addonics external enclosure to use with a G4 Powerbook. I also bought a Maxtor 400gb drive. After having some problems in formatting the drive, I found out the following from Addonics: **For Mac OS only, there have been report
-
Placing OS image and Data image on right partition
Hi , We are facing issue in placing right image at the right partition. We have OS image and data image. We are formatting and partitioning HDD as 40% (OSDisk) and remaining 100% as (Data). Both paritioons are active and selected as primary. Then i
-
[SOLVED] Problems with systemd-update-utmp after systemd update
Hi all, I noticed that systemd-update-utmp-runlevel.service has been failing since the last systemd update. My systemd is: Repository : core Name : systemd Version : 184-2 $ systemctl status systemd-update-utmp-runlevel.service systemd-update-utmp-ru
-
I would like to buy a new computer hardware -intel based-
i would like to buy a new computer hardware-intel based - motherboard, processor, memmory,ATI graphics card. i use edit 10-20mb raw files using photoshop CS5. pls advise, ur comments will be highly appreciated.