Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
How do you add jar files to the javaserver classpath?
John_Haxton
I have added a JavaObject call to a module which requires three jar files, these are added to the /javaserver/lib directory when the module is installed, however the classpath for the javaserver is not updated to include these.If I manually edit the opentext.ini file to include these in the class path (JavaVMOption_1) of the "javaserver" section it works.Is this the correct method for installing .jar files?If so how do I update the classpath during the module install?N.B. this is a standard OScript module and is NOT a JavaModule using "com.opentext.elf.plugin"
Find more posts tagged with
Comments
Hans Stoop
Message from Hans Stoop via eLinkHave a look at the $Kernel.FilePRefsObject object and it documentationfeature.Theoratically you could leave them in your module directory, but thenyou have to change the opentext.ini file after every module upgrade.Hans > -----Original Message-----> From: eLink Discussion: Development Discussion > [mailto:development@elinkkc.opentext.com] > Sent: donderdag 22 februari 2007 15:14> To: eLink Recipient> Subject: How do you add jar files to the javaserver classpath?> > How do you add jar files to the javaserver classpath?> Posted by jhaxton on 02/22/2007 09:09 AM> > I have added a JavaObject call to a module which requires > three jar files, these are added to the > /javaserver/lib directory when the module is > installed, however the classpath for the javaserver is not > updated to include these.> > If I manually edit the opentext.ini file to include these in > the class path (JavaVMOption_1) of the "javaserver" section it works.> > Is this the correct method for installing .jar files?> > If so how do I update the classpath during the module install?> > N.B. this is a standard OScript module and is NOT a > JavaModule using "com.opentext.elf.plugin"> > [To reply to this thread, use your normal E-mail reply function.]> > ============================================================> > Discussion: Development Discussion>
https://knowledge.opentext.com/knowledge/llisapi.dll/open/786303>
; > Livelink Server:>
https://knowledge.opentext.com/knowledge/llisapi.dll>
; > To Unsubscribe from this Discussion, send an e-mail to > unsubscribe.development@elinkkc.opentext.com.> > >
John_Haxton
Thanks Hans, I guess I could use $Kernel.FilePRefsObject to update the opentext.ini file.Another suggestion I got was to put the jar files in the /jre/lib/ext directory and then the JVM will be able to find them.This seems the easiest way to go :-)