Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th August 2012, 06:21 PM
foampile Offline
Registered User
 
Join Date: Jan 2012
Location: Washington, DC
Posts: 157
linuxfirefox
Question setting java classpath for Libre Office Base (used for JDBC)

i want to use Libre Office Base to connect to MySQL. when i set up the JDBC connection, it asks me for the driver, however, it cannot be loaded (because it doesn't see it in the classpath).

does anybody know how to set the classpath for Libre Office? is there like a config util tool for that?

e.g. my driver is com.mysql.jdbc.Driver situated in /usr/share/java/mysql-connector-java-5.1.17.jar. it works fine when i connect from other JDBC clients, like straight Java or Eclipse Quantum plugin. the problem is that Libre Office does not ask me for the (class)path of where it can find the driver and i do not know where and how to set it so that it becomes visible.

thanks
Reply With Quote
  #2  
Old 31st August 2012, 12:55 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: setting java classpath for Libre Office Base (used for JDBC)

Try something like

Code:
export CLASSPATH=/usr/share/java/mysql-connector-java-5.1.17.jar
libreoffice
Reply With Quote
  #3  
Old 1st September 2012, 02:31 AM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,619
linuxfedorafirefox
Re: setting java classpath for Libre Office Base (used for JDBC)

Quote:
Originally Posted by foampile View Post
does anybody know how to set the classpath for Libre Office?
It should be under Tools->Options->Java.
__________________
OS: Fedora 18 x86_64 | CPU: AMD64 3700+ 2.2GHz | RAM: 2GB PC3200 DDR | Disk: 160GB PATA | Video: ATI Radeon 7500 AGP 64MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Realtek 8110SC
Reply With Quote
Reply

Tags
base, classpath, java, jdbc, libre, office, setting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Libre Office Scroll Bar with KDE billquinn Using Fedora 2 19th May 2012 08:12 AM
Libre Office and languages Wayne Reviews, Rants & Things That Make You Scream 6 24th September 2011 11:27 AM
Libre Office jimmac49 Reviews, Rants & Things That Make You Scream 26 21st July 2011 05:50 PM
Libre Office jt867 Using Fedora 7 28th February 2011 02:34 AM
OpenOffice Base DB from JDBC Shakes Programming & Packaging 0 20th June 2007 06:58 PM


Current GMT-time: 01:21 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat