From: | Harold Grovesteen |
Date: | 30 Aug 2000 at 12:36:01 |
Subject: | Re: AMIOPEN: Wrong version of the Java SDK? |
Michiel,
Collections became available with JDK 1.2. They were unavailable with
the 1.1 version of JDK. If my memory serves me correctly SUN did
produce a version of collections that could be added to the JDK 1.1.
You may need to hunt around on the SUN sight for it. It looks like from
your error, the program expects 1.2. I am late for work this morning
but if I have some time later today I will try to look too. Like many,
I read the email list with morning coffee.
Harold Grovesteen
Michiel Erasmus wrote:
>
> 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
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html