Am Sonntag, den 16.10.2005, 12:37 +0200 schrieb J.L. Blom: > Marc, > Thanks for the information. I'm working with OOo 2.0 RC2 and found that > a classpath must be added at the tab java. > I did that and it ordered me to give the directory where to find it. > Tha's what I did. > Then I went to File -> Wizards -> Address Datasource -> other -> MySQL > (JDBC) -> database name (test) -> username -> test connection. > The next window told me that " Due to an unexpected error OOo crashed".
So, at least something different happened. ;) > Now I did read in the manual that you had to use the > "mm.mysql-2.0.4-bin.jar" driver. However I have installed the latest > from the MySQL-site and the driver is mysql-connector-3.1.1-bin.jar (a > completely different driver?). I think it is mostly the same driver but there are worlds between the two version, but it's only a shot in the dark... The nicer part: I'm using the same mm.mysql.204 jdbc driver succesfully with OO.o 1.1.3 and Java 1.3.1 and 1.4.2 on FreeBSD. All of this are 32 bit versions. But the mysql server in question is a 3.x version, it is really old, too. > However, I have obtained the mm.mysql-2.0.4 driver from sourceforge (it > is old, from 20000 and installed the path but no result. In the java-tab > I can see that I have installed "Free Software Foundation Inc" java > runtime system version 1.4.2 and it is located in /usr. Well, I have a > directory /usr/j2r1.4.2and a directory /usr/java/jre1.5.0_04. I am > rather confused by j2r1.4 and jre1.5 as in any mails one is talking > about "java 1.4 and ", java 1.5" which latter actually is named "java > 5.0". Again, I have a limited knowledge of java, dating from the first That are different versions ogf the java runtime environment, the part executing the jdbc driver (very short explanation ;). I think the JDK 1.4 should do, but lately I read a message reporting problems going away with 1.5 (aka 5.0) instead of 1.4. To test it do this steps: - close OO.o and the qiuckstarter - goto the installaton directory of OO.o and from there to subdir "program" - run "jvmsetup" and select the other jdk from the list. If it is not shown use the browse button and point to the base dir of the JDK - klick OK and start OO.o for a test I know I'm repeating myself but you really should get anything in 32 bit version or anything in 64 bit version, otherwise you will run into problems. HTH, Marc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
