OpenAmiga (846/959)

From:Michiel Erasmus
Date:30 Aug 2000 at 08:05:39
Subject:AMIOPEN: Wrong version of the Java SDK?

Hoi Amigans,

Unlike 99.99% of the people on this list, I am using the java alternative.

Now, I seem to be missing something in my Java classes/distro..

I just downloaded, compiled and got mSQL working on my Linux box, then I
downloaded
the JDBC drivers for mSQL from http://www.imaginary.com. In the mSQL-JDBC
distro, I found some example programs and tried to compile it, which worked
just fine. I then tried to run the compiled program but I get an error
message which I list here below.

Amiga 1.0:/$ jcode home/ontw/msql01/DateTest
Tool open failed:
Tool not found: 'com/sun/java/util/collections/ArrayList/class'
Referenced by 'com/imaginary/sql/msql/MsqlConnection/class'
Referenced by 'com/imaginary/sql/msql/MsqlDriver/class'
java.lang.ClassNotFoundException: com.imaginary.sql.msql.MsqlDriver
java.lang.Throwable.<init>(java/lang/Throwable/class.asm:102)
java.lang.Class.forName(java/lang/Class/class.asm:2801)
home.ontw.msql01.DateTest.main(home/ontw/msql01/DateTest.java:18)
Amiga 1.0:/$

I have Borland JBuilder3.5 Foundation installed which uses Jdk1.2.2 (java2),
ArrayList is in java.util.ArrayList an not in
java.util.collections.ArrayList.

I have JDK 1.1.6 from blackdown.org as per the FAQ installed. Is it
possible that my JDK version is incorrect, or is the MsqlConnection.class
referencing ArrayList wrong?

met vriendelijke groet,
Michiel Erasmus

-------------------------------------------------------------------------
- SQL-Server Database Administrator | AmigaNG en Microsoft ontwikkelaar -
- Tel: +31-6-25268112 ICQ:64284009 | Amsterdam, Nederland -
-------------------------------------------------------------------------

Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html