Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse JustJ » JUSTJ Classpath(Need to add a JAR that will be used during runtime)
JUSTJ Classpath [message #1858487] Tue, 04 April 2023 18:01 Go to next message
Yigal Spinner is currently offline Yigal SpinnerFriend
Messages: 124
Registered: July 2009
Senior Member
My application uses JODBC drivers to access database.
When using ORACLE database with Japanese characters, the OJDBC8.jar requires access to ORI18n.jar. See error in attached file.

I tried to figure out where is the JUSTJ Class path so I can copy the JAR to that folder. I do not see any folder with JAR files under JUSTJ plugin.
Adding the JAR to the Project->Properties->Java->Build Path does not work.
Adding the JAR into Window->Preference->Java->Build Path->Classpath Variables does not work.

What other option I have to add the ORI18N.jar to so Eclipse will pick it during runtime?
  • Attachment: TestConn.png
    (Size: 12.57KB, Downloaded 28 times)

[Updated on: Tue, 04 April 2023 18:08]

Report message to a moderator

Re: JUSTJ Classpath [message #1858492 is a reply to message #1858487] Wed, 05 April 2023 06:38 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 32985
Registered: July 2009
Senior Member
JustJ's JREs use Java 11 or higher and use jmods internally, not jars. I don't think you should try to add something to the JRE's module path. Is your application an Eclipse/Equinox application? Probably not.... Maybe your question is more related to Web Tools and maybe more like this:

https://www.tutorialspoint.com/how-to-add-the-jdbc-mysql-driver-to-an-eclipse-project



Ed Merks
Professional Support: https://www.macromodeling.com/
Re: JUSTJ Classpath [message #1858522 is a reply to message #1858492] Wed, 05 April 2023 16:55 Go to previous messageGo to next message
Yigal Spinner is currently offline Yigal SpinnerFriend
Messages: 124
Registered: July 2009
Senior Member
Thanks for the quick response.
I have an RCP application (not a Web Application).

What other option do I have so the JAR be in the classpath that Eclipse Uses.
I'm using Hibernate so different user have Oracle, Informix, MySQL and etc.. So the application is not aware of the database type

Re: JUSTJ Classpath [message #1858528 is a reply to message #1858522] Thu, 06 April 2023 06:00 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 32985
Registered: July 2009
Senior Member
Normally you put the jar in a bundle and mention the library in the classpath of the bundle:

Bundle-ClassPath: lib/commons-collections4-4.1.jar

Don't forget to mention the libraries in the bin.includes of the build.properties:

bin.includes = META-INF/,\
.,\
lib/


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Migrating to JustJ from custom JVM
Goto Forum:
  


Current Time: Sat Nov 11 09:28:55 GMT 2023

Powered by FUDForum. Page generated in 0.02121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top