简体   繁体   中英

How do I install Java JNA in Ubuntu server 14?

I'm trying to install the java native library from the command line as

sudo apt-get install libjna-java

but Ubuntu tells me

 E: Unable to locate package libjna-java

and even if I do cache search, there is nothing there matching that package.

How do I install Java JNA in Ubuntu server 14?

libjna-java is in universe repository and it seems that you dont have it enabled. To enable, run

sudo add-apt-repository universe

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM