Re: Java.library.path

Phil Crick <[email protected]>
Newsgroups gmane.comp.java.sun.jtapi
Message-ID <[email protected]>
This isn't a jtapi error as such, it's a version problem with the JRE you're
using. UnsatisfiedLinkErrors generally mean that you have one version of
java installed on your machine - say 1.3.1 - and you've downloaded a jar
file that was compiled with a later version of java - say 1.4.2, the runtime
is basically saying it can't run the new stuff because it's a different
version.

You're error is subtley different however: "no gcprovider in java", the
gcprovider is the garbage collector and is a fundamental part of java,
sounds like it's a bit screwed! If I were you I'd do the following:

1. Check the version of java you have installed - bring up dos prompt and
type "java -version"
2. Check this version against the version of jtapi you downloaded and check
they are compatible.

You may have multiple versions of java installed on your machine which may
take some untangling - the easiest option is to uninstall and re-install the
version you need.

Hope that helps

Phil

-----Original Message-----
From: Please help [mailto:[email protected]]
Sent: 24 August 2004 06:55
To: [email protected]
Subject: [JTAPI] Java.library.path


I got this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no gcprovider
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 net.sourceforge.gjtapi.raw.dialogic.GCProvider.<clinit>
(GCProvider.ja
va:509)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at net.sourceforge.gjtapi.GenericJtapiPeer.getProvider
(GenericJtapiPeer.
java:184)
        at CallCtlOutcall.main(CallCtlOutcall.java:20)
Press any key to continue . . .

My gjtapi located in jre/lib/ext. Please show me how to set
java.library.path.

Thank you in advance

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JTAPI-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.