Article View: borland.public.jbuilder.java.api
Article #58Re: java.lang.UnsatisfiedLinkError: no jvb in java.library.path
From: Guest
Date: Thu, 24 Feb 2005 15:52
Date: Thu, 24 Feb 2005 15:52
87 lines
3873 bytes
3873 bytes
> I am trying to write a program that access Borland's Caliber RM using the
> product's Java API.
>
> I imported the relevant class libraries in JBuilder through the Project
> Properties.Paths.Required
> Libraries tab.
>
> All meaningful code in the app is copied from the documentation distributed
> with the Caliber RM.
>
> I'm getting the error message java.lang.UnsatisfiedLinkError: no jvb in
> java.library.path when the program gets to listProjects.
>
> But have no idea what this error means. The complete code and full error
> message trace are below.
>
> Thanks
>
> ******************************************
> Error
> ******************************************
> java.lang.UnsatisfiedLinkError: no jvb in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
> at java.lang.Runtime.loadLibrary0(Runtime.java:788)
> at java.lang.System.loadLibrary(System.java:834)
> at com.starbase.caliber.external.Integration.<clinit>(Integration.java:32)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at
> com.starbase.caliber.external.IntegrationID.class$(IntegrationID.java:18)
> at
> com.starbase.caliber.external.IntegrationID.<init>(IntegrationID.java:16)
> at com.starbase.caliber.Project.<init>(Project.java:93)
> at
> com.starbase.caliber.ProjectManager.getFromServer(ProjectManager.java:279)
> at
> com.starbase.caliber.ProjectManager.getAllProjects(ProjectManager.java:151)
> at com.starbase.caliber.Session.getProjects(Session.java:715)
> at TestCaliber.listProjects(TestCaliber.java:29)
> at TestCaliber.main(TestCaliber.java:24)
> Exception in thread "main"
>
> **************************************
> Program
> **************************************
> import com.starbase.caliber.*;
> import com.starbase.caliber.server.*;
> public class TestCaliber {
> static CaliberServer server;
> static Session session;
> /**
> *
> */
> public static void main(String[] args) {
> connect();
> listProjects();
> }
>
> public static void listProjects(){
> try{
> Project[] arrayOfProjects = session.getProjects();
> for(int i = 0; i < arrayOfProjects.length; i++) {
>
> System.out.println(arrayOfProjects[i].getName());
> }
> }
> catch(RemoteServerException rse) {
> rse.printStackTrace();
> }
> }
>
> public static void connect(){
> server = new CaliberServer("foo");
> try {
> session = server.login("admin", "admin");
> } catch(RemoteServerException rse) {
> rse.printStackTrace();
> }
> }
> }
>
>
>
User submitted from AEWNET (http://www.aewnet.com/)
Technical Details
Message-ID:
<421df84c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<40ccc897$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,2afc029343905bd7 X-Google-Attributes: gid1089d0,public X-Google-Language: ENGLISH,ASCII-7-bit From: Guest <Guest@aew_nospam.com> Newsgroups: borland.public.jbuilder.java.api References: <40ccc897$1@newsgroups.borland.com> X-Newsreader: AspNNTP 1.50 (aewnet.com) Subject: Re: java.lang.UnsatisfiedLinkError: no jvb in java.library.path Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.161.67.173 Message-ID: <421df84c@newsgroups.borland.com> Date: 24 Feb 2005 07:52:44 -0800 X-Trace: newsgroups.borland.com 1109260364 63.161.67.173 (24 Feb 2005 07:52:44 -0800) Lines: 87 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail