[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: can't compile: Exception in thread "main" java.lang.NoClassDefFou ndError: sun/tools/javac/Main
Hi to all,
we are new to this List , working for a studium projekt,
and we have the same problems,
with the same error message,
and after deleting line 48 it is not better,
it磗 the same error message.
can anybody help us with other tips?
Thanks a lot ...
Steffen!
-----Urspr黱gliche Nachricht-----
Von: ozone-users-owner@ozone-db.org
[mailto:ozone-users-owner@ozone-db.org]Im Auftrag von Falko Braeutigam
Gesendet: Freitag, 11. Mai 2001 12:07
An: bingji@acroprise.com.cn; 'ozone-users@ozone-db.org'
Betreff: Re: can't compile: Exception in thread "main"
java.lang.NoClassDefFou ndError: sun/tools/javac/Main
On Fri, 11 May 2001, <bingji@acroprise.com.cn> wrote:
> Rob, Jeff :
>
> Yeah, I had set my computer's date to 2000 a few days ago, but have
> forgot it.
> Now, have set date correct. BUT another error is:
>
> ( I have add my JDK's \lib directory which "tools.jar" in it to my
> CLASSPATH
> "set CLASSPATH=D:\JBuilder3\java\lib;D:\JBuilder3\java;." )
>
> C:\BingJi\OODB\ozone-db\ozone-1.0.1>build
> Buildfile: build.xml
> Project base dir set to: C:\BingJi\OODB\ozone-db\ozone-1.0.1
> Executing Target: init
> Executing Target: prepare
> Executing Target: DxLib
> Compiling 63 source files to C:\BingJi\OODB\ozone-db\ozone-1.0.1
> Exception in thread "main" java.lang.NoClassDefFoundError:
> sun/tools/javac/Main
> at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Compiled
> Code)
> at org.apache.tools.ant.taskdefs.Javac.execute(Compiled Code)
> at org.apache.tools.ant.Target.execute(Compiled Code)
> at org.apache.tools.ant.Project.runTarget(Project.java:658)
> at org.apache.tools.ant.Project.executeTarget(Compiled Code)
> at org.apache.tools.ant.Main.runBuild(Compiled Code)
> at org.apache.tools.ant.Main.main(Compiled Code)
> C:\BingJi\OODB\ozone-db\ozone-1.0.1>
Try to remove the following line (48) from build.xml:
<property name="build.compiler" value="classic"/>
Falko
>
>
> Thank you.
>
> --- BingJi Wang (汪炳吉)
> --- bingjiw@yahoo.com and bingji@acroprise.com.cn
>
> -----Original Message-----
> From: Rob Lapensee [mailto:rlapensee@delfour.com]
> Sent: Thursday, May 10, 2001 7:29 PM
> To: ozone-users@ozone-db.org
> Subject: RE: CAN'T compile ozone, please help me.
>
>
> BingJi,
>
> Could it be that the date and time settings on your machine are a date
> and
> time beyond when the .java files are stamped as having been modified?
>
> Regards,
>
> Rob Lapensee
> Director of Technology
> Delfour Corporation
> www.delfour.com
> rlapensee@delfour.com
>
> -----Original Message-----
> From: ozone-users-owner@ozone-db.org
> [mailto:ozone-users-owner@ozone-db.org]On Behalf Of BingJi Wang
> Sent: Thursday, May 10, 2001 6:00 AM
> To: ozone-users@ozone-db.org
> Subject: CAN'T compile ozone, please help me.
>
> I use win2000.
> have set all variables.
> My JDK is:
>
> C:\BingJi\OODB\ozone-db\ozone-1.0.1>java -version
> java version "1.2"
> Classic VM (build JDK-1.2-V, native threads)
>
> which version of JDK should I use?
>
> following is the dos-command-line output:
> ================================================
>
> C:\BingJi\OODB\ozone-db\ozone-1.0.1>set
> ALLUSERSPROFILE=C:\Documents and Settings\All Users
> ANT_HOME=C:\BingJi\OODB\ozone-db\ozone-1.0.1
> APPDATA=C:\Documents and Settings\A025\Application
> Data
> CommonProgramFiles=C:\Program Files\Common Files
> COMPUTERNAME=SAC025
> ComSpec=C:\WINNT\system32\cmd.exe
> DER_DRIVER_PATH=D:\IBMDebug
> HOMEDRIVE=C:
> HOMEPATH=\
> JAVACMD=java
> LOCPATH=D:\IBMDebug\LOCALE;
> LOGONSERVER=\\SCSU1001
> NLSPATH=D:\IBMDebug\msg\%L\%N;
> NUMBER_OF_PROCESSORS=1
> OS=Windows_NT
> Os2LibPath=C:\WINNT\system32\os2\dll;
> OZONE_CLASSPATH=C:\BingJi\OODB\ozone-db\ozone-1.0.1;C:\BingJi\OODB\ozone
> -db\
> ozon
> e-1.0.1\samples;C:\BingJi\OODB\ozone-db\ozone-1.0.1\classes;C:\BingJi\OO
> DB\o
> zone
> -db\ozone-1.0.1\bin\README.jars;C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin\
> jndi
> .jar
> ;;C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin\infozone-tools.jar;C:\BingJi\OO
> DB\o
> zone
> -db\ozone-1.0.1\bin\xerces.jar;C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin\j
> ta-s
> pec1
> _0_1.jar;C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin\xtdash.jar;C:\BingJi\OO
> DB\o
> zone
> -db\ozone-1.0.1\bin\ant.jar;C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin\java
> clas
> s.ja
> r;C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin\omquery.jar;C:\BingJi\OODB\ozo
> ne-d
> b\oz
> one-1.0.1\bin\junit.jar;C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin\jakarta-
> rege
> xp.j
> ar;C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin\castor.jar;C:\BingJi\OODB\ozo
> ne-d
> b\oz
> one-1.0.1\bin\infozone-lexus.jar
> OZONE_HOME=C:\BingJi\OODB\ozone-db\ozone-1.0.1
> OZONE_JAVAC=D:\JBuilder3\java\bin\JAVAC
> OZONE_JVM=D:\JBuilder3\java\bin\JAVA
> Path=C:\BingJi\OODB\ozone-db\ozone-1.0.1\bin;D:\JBuilder3\java\bin;
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1,
> GenuineIntel
> PROCESSOR_LEVEL=6
> PROCESSOR_REVISION=0801
> ProgramFiles=C:\Program Files
> PROMPT=$P$G
> SystemDrive=C:
> SystemRoot=C:\WINNT
> TEMP=C:\DOCUME~1\A025\LOCALS~1\Temp
> TMP=C:\DOCUME~1\A025\LOCALS~1\Temp
> USERDOMAIN=ACRODOMAIN101
> USERNAME=A025
> USERPROFILE=C:\Documents and Settings\A025
> windir=C:\WINNT
>
> C:\BingJi\OODB\ozone-db\ozone-1.0.1>build
> Buildfile: build.xml
> Project base dir set to:
> C:\BingJi\OODB\ozone-db\ozone-1.0.1
> Executing Target: init
> Executing Target: prepare
> Executing Target: DxLib
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxStringComparator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxBBnode.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxObjectOutputStream.jav
> a
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxObject.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDiskHashNode.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxAbstractCollection.jav
> a
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxTreeCollection.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxMultiMap.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\net\DxMultiServer.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\net\Acceptor.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\net\DxClient.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\net\DxServer.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\net\DxMultiServerClient.
> java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\net\DxAsyncClient.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxVectorCollection.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxSet.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxCollection.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxString.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxListDeque.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxMultiIterator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxVectorIterator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxClassLoader.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxAbstractMap.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxInteger.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDiskHashNodeLeaf.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxHashIterator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDeque.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxBag.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDiskHashIterator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDouble.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDiskHashMap.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxListIterator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxListNode.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxAbstractSet.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\ObjectWriteExc.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxHashMap.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxBBTree.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxTreeMap.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxListCollection.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDiskHashNodeBranch.jav
> a
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxObjectInputStream.java
>
> Warning: file modified in the future:
> org\ozoneDB\DxLib\ObjectReadExc.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDiskHashCompatible.jav
> a
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxKeyData.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxCompatible.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxBBIterator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxHashCollection.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxComparator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxTreeSet.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxVector.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxListBag.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxLong.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxStandardComparator.jav
> a
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxArrayBag.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxDiskSubTable.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxHashSet.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxException.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxBoolean.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxIterator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxAbstractBag.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxArrayDeque.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxAbstractIterator.java
> Warning: file modified in the future:
> org\ozoneDB\DxLib\DxMap.java
> Compiling 63 source files to
> C:\BingJi\OODB\ozone-db\ozone-1.0.1
> Exception in thread "main"
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at
> org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Compiled
> Code)
> at
> org.apache.tools.ant.taskdefs.Javac.execute(Compiled
> Code)
> at
> org.apache.tools.ant.Target.execute(Compiled Code)
> at
> org.apache.tools.ant.Project.runTarget(Project.java:658)
> at
> org.apache.tools.ant.Project.executeTarget(Compiled
> Code)
> at org.apache.tools.ant.Main.runBuild(Compiled
> Code)
> at org.apache.tools.ant.Main.main(Compiled
> Code)
> C:\BingJi\OODB\ozone-db\ozone-1.0.1>
> =============================================
>
> Can you help me?
> Thank you very much.
>
> --- BingJi Wang (汪炳吉)
> --- bingjiw@yahoo.com and bingji@acroprise.com.cn
>
>
> _________________________________________________________
> Do You Yahoo!? 登录免费雅虎电邮! http://mail.yahoo.com.cn
> 创建雅虎俱乐部,真我个性尽施展!http://cn.clubs.yahoo.com
--
______________________________________________________________________
Falko Braeutigam mailto:falko@smb-tec.com
SMB GmbH http://www.smb-tec.com