Support for Native libraries?

Hello,

Does anyone used native libraries in development? How to configure project for native libs using?

As i know, IDEA itself used native libraries, and how it configured in IPR/IML files?

Thanks!

6 comments

Hello Alexey,

Does anyone used native libraries in development? How to configure
project for native libs using?

As i know, IDEA itself used native libraries, and how it configured in
IPR/IML files?


Native libraries are required only at run-time. All you need is to specify
-Djava.library.path in the JVM options of the Run/Debug configuration pointing
to the directory with your native libraries. It's not necessary if these
libraries are in %PATH%.

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Hello Serge,

A good feature that would help me and a couple of others would this: add
a new type of path to a library/project/module (native library path) and
use these paths to build the -Djava.library.path entry of the command line
automatically. Or set the LD_LIBRARY_PATH before launching the application
on linux (and do the similar thing on Windows if possible) to a path composed
of those paths.

It would be really helpfull to do this automatically.

Mihai

Hello Alexey,

>> Does anyone used native libraries in development? How to configure
>> project for native libs using?
>>
>> As i know, IDEA itself used native libraries, and how it configured
>> in IPR/IML files?
>>

Native libraries are required only at run-time. All you need is to
specify -Djava.library.path in the JVM options of the Run/Debug
configuration pointing to the directory with your native libraries.
It's not necessary if these libraries are in %PATH%.

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



0

You could also vote for:
http://www.jetbrains.net/jira/browse/IDEABKL-2843

I think native libraries should be supported directly by IDEA.

Vince.


0

Hello Vincent,

Done.

You could also vote for:
http://www.jetbrains.net/jira/browse/IDEABKL-2843
I think native libraries should be supported directly by IDEA.

Vince.



0

Please sign in to leave a comment.