Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - License Check Failure: no qnxlic in java.library.path : (8 Items)
   
License Check Failure: no qnxlic in java.library.path  
Hi,

When I try opening the system perspective, I get the following message.

"no qnxlic in java.library.path"


Could someone please help me with this.

Manoj
Re: License Check Failure: no qnxlic in java.library.path  
> Hi,
> 
> When I try opening the system perspective, I get the following message.
> 
> "no qnxlic in java.library.path"
> 
> 
> Could someone please help me with this.
> 
> Manoj


on my windows box (dos-cmd-> bash):

bash-2.04$ qconfig
QNX Installations

  Installation Name: QNX Software Development Platform 6.4.0
            Version: 6.4.0
     Base Directory: C:/QNX640
           QNX_HOST: C:/QNX640/host/win32/x86
         QNX_TARGET: C:/QNX640/target/qnx6

Additional Packages

Is this set correctly ?:

bash-2.04$ set | grep QNX_
QNX_CONFIGURATION='C:\Programme\QNX Software Systems'
QNX_HOST=C:/QNX640/host/win32/x86
QNX_JAVAHOME='C:\QNX640\_jvm'
QNX_TARGET=C:/QNX640/target/qnx6

bash-2.04$ pwd
/c/QNX640/host/win32/x86/usr/qde/eclipse

Can You start it like this ? :

bash-2.04$ ./qde.exe -Djava.library.path=$QNX_HOST/usr/bin

That qnxlic.dll should be here:

 $QNX_HOST/usr/bin/qnxlic*
  
what is this for me:

C:/QNX640/host/win32/x86/usr/bin/qnxlic.dll

So is your env correctly set ? And does it work if You start it from commandline like shown above ? Is that qnxlic.dll 
present there ?

Jeevan
Re: License Check Failure: no qnxlic in java.library.path  
http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/IDEGeneralFAQ

For Linux:
IDE should have LD_LIBRARY_PATH set for location containing license library. If you using usr/bin/qde script it 
automatically sets it for you, otherwise you have to set it from command line:
(IDE 4.0.x) export LD_LIBRARY_PATH=$QNX_HOST/usr/bin:$LD_LIBRARY_PATH
(IDE 4.5.x) export LD_LIBRARY_PATH=$QNX_HOST/usr/lib:$LD_LIBRARY_PATH

For Windows:
Ensure that "%QNX_HOST%\usr\bin" is included in the %PATH% environment variable. To verify where it appears in the $PATH
 variable, use the following command in a Windows command prompt: set %PATH%

Manoj Cherian wrote:
> Hi,
> 
> When I try opening the system perspective, I get the following message.
> 
> "no qnxlic in java.library.path"
> 
> 
> Could someone please help me with this.
> 
> Manoj
> 
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post19617
> 
Re: License Check Failure: no qnxlic in java.library.path  
I have this exact problem now, 
I updated to IDE4.7, still have 4.5 installed and after trying to install some plugins, I accidentally updated the 
platform from the eclipse site. (big mistake)

now I keep getting this error,

License Check Failure. Your QNX license could not be obtained, QNX functionality will be disabled.
 Ensure the path to the QNX license library is defined in the LD_LIBRARY_PATH environment variable.
no qnxlic in java.library.path

I've deleted, and reinstalled, and removed the old configuration directory just in case.

and I've checked java.library.path and my qnxlic.dll  is in there C:\QNX640\host\win32\x86\usr\bin


I've tried both of the previous solutions but none work

The kicker is my 4.5 IDE still works...
Re: License Check Failure: no qnxlic in java.library.path  
What configuration directory you have removed?

On 19/11/2010 6:26 PM, Nathan Ignatz wrote:
> I have this exact problem now,
> I updated to IDE4.7, still have 4.5 installed and after trying to install some plugins, I accidentally updated the 
platform from the eclipse site. (big mistake)
>
> now I keep getting this error,
>
> License Check Failure. Your QNX license could not be obtained, QNX functionality will be disabled.
>   Ensure the path to the QNX license library is defined in the LD_LIBRARY_PATH environment variable.
> no qnxlic in java.library.path
>
> I've deleted, and reinstalled, and removed the old configuration directory just in case.
>
> and I've checked java.library.path and my qnxlic.dll  is in there C:\QNX640\host\win32\x86\usr\bin
>
>
> I've tried both of the previous solutions but none work
>
> The kicker is my 4.5 IDE still works...
>
>
>
>
> _______________________________________________
>
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post75413
>
Re: License Check Failure: no qnxlic in java.library.path  
I removed the 
c:/Documents and Settings/<username>/momentics/4.7 

directory.

When I updated the platform, I did try to uninstall my updates, and then couldn't launch 4.7 at all, so I deleted my 
install directory, and the config directory from above, and did a fresh download of the 4.7 IDE, tried running it, and 
now it's showing up with license problems.

Is it possible that this could be a registry issue?
RE: License Check Failure: no qnxlic in java.library.path  
What is your environment variable "QNX_HOST" pointing to? Make sure you have the file "%QNX_HOST/usr/lib/libqnxlic.so".


-----Original Message-----
From: Nathan Ignatz [mailto:community-noreply@qnx.com]
Sent: Sun 21/11/2010 5:44 PM
To: momenticsgs-community
Subject: Re: License Check Failure:  no qnxlic in java.library.path
 
I removed the 
c:/Documents and Settings/<username>/momentics/4.7 

directory.

When I updated the platform, I did try to uninstall my updates, and then couldn't launch 4.7 at all, so I deleted my 
install directory, and the config directory from above, and did a fresh download of the 4.7 IDE, tried running it, and 
now it's showing up with license problems.

Is it possible that this could be a registry issue?




_______________________________________________

QNX Momentics Getting Started
http://community.qnx.com/sf/go/post75458


Attachment: Text winmail.dat 2.96 KB
Re: RE: License Check Failure: no qnxlic in java.library.path  
I had to re-install QNX6.4.0 that solved the  problem.