RE: Classpath for MSSQLServer JDBC Driver
RE: Classpath for MSSQLServer JDBC Driver
- Subject: RE: Classpath for MSSQLServer JDBC Driver
- From: "Jonathan Fleming" <email@hidden>
- Date: Tue, 27 May 2003 16:32:36 +0100
From: "Fournier, Pete" <email@hidden>
To: "Jonathan Fleming" <email@hidden>
Subject: RE: Classpath for MSSQLServer JDBC Driver
Date: Tue, 27 May 2003 09:15:02 -0400
Sounds like everything is setup right for Java2, which could still be
why you are having a problem. I seem to remember the EOModeler on
windows being older, and requires different drivers. I do not use it now
except to put the EO objects together. Try these steps:
1) Put your jar files in a path w/no spaces, like: c:\jars. May not be
necessary, but WO has always been space impaired.
2) In NEXT_ROOT\Library\Java\JavaConfig.plist put the jar files in the
DefaultClasspath variable. Put slashes like all of the other ones in
that line.
I amended the claspath to this : DefaultClasspath =
"$HOME/Library/Java;$NEXT_ROOT/Local/Library/Java;$NEXT_ROOT/Library/Java;$NEXT_ROOT/Library/JDK/lib/classes.zip;$NEXT_ROOT/Library/Frameworks/JavaVM.framework/Classes/awt.jar;$NEXT_ROOT/Library/JDK/lib/swingall.jar";$NEXT_ROOT\Library\Java\msbase.jar;$NEXT_ROOT\Library\Java\msutil.jar;$NEXT_ROOT\Library\Java\mssqlserver.jar;
and now I can not even access the Set Adaptor Info... in the Model menu,
it's greyed out. I also get the error below now if I try to use Switch
Adaptor in the Model Menu and Generate SQL in the property menu is greyed
out too:
Unable to load the JDBC adaptor: classForAdaptorNamed:: Unable to load the
bundle for the adaptor named JDBC. The possible causes for this error are:
the adaptor executable cannot be dynamically linked into your application,
you are on PDO and have not linked the adaptor into your application, or the
adaptor executable is not present on your host.
Is the classpath set correctly? If so, have I got any options left?
Jonathan :^|
The VM running in EOModeler is different, if you go to
NEXT_ROOT\Library\JDK\bin and run java -version you should get a 1.x, I
just did it and got 1.1.8. So, the ext dir, Java 2 functionality is not
working.
Things would be so much better if Apple would just write a Java GUI and
be able to have it standard across platforms instead of this whole
Java/Java2 dance on Windows. You would expect a company with a tool that
embraces cross-platform deployment would embrace cross platform
development. ;-)
BTW Pete, can you repost that little qib i sent to you to Apple Dev List as
when I posted it with all the other post replies attached to it caused it to
be too large for it to be allowed through and i did not save a copy of it,
thanks
Basically I'd like to know if Apple are going to do anything about fixing
this EOModel problem?
Hope this helps.
Pete
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you.
http://www.msn.co.uk/internetaccess
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.