Qt-jambi-interest Archive, December 2006
Eclipse issue: LD_LIBRARY_PATH for all java files in a Project
Message 1 in thread
Hi all,
I just wanted to ask if it's possible to run every java file in a
project with LD_LIBRARY_PATH=/path/to/qtjambi/lib, because configuring
it every time in the run dialog is annoying.
Message 2 in thread
In eclipse you can specify your environment variables : Run As ->
Environment -> New...
Name : LD_LIBRARY_PATH
Value: /path/to/qtjambi/lib:$LD_LIBRARY_PATH
Nils wrote:
> Hi all,
>
> I just wanted to ask if it's possible to run every java file in a
> project with LD_LIBRARY_PATH=/path/to/qtjambi/lib, because configuring
> it every time in the run dialog is annoying.
>
>
Message 3 in thread
But how can you set similar things on a per project basis
M
On Di, 2006-12-19 at 08:29 +0100, Vincent Roberfroid wrote:
> In eclipse you can specify your environment variables : Run As ->
> Environment -> New...
> Name : LD_LIBRARY_PATH
> Value: /path/to/qtjambi/lib:$LD_LIBRARY_PATH
>
> Nils wrote:
>
> > Hi all,
> >
> > I just wanted to ask if it's possible to run every java file in a
> > project with LD_LIBRARY_PATH=/path/to/qtjambi/lib, because
> configuring
> > it every time in the run dialog is annoying.
> >
> >
>
>
Message 4 in thread
Matthias Nott wrote:
>But how can you set similar things on a per project basis
>
>M
>
>On Di, 2006-12-19 at 08:29 +0100, Vincent Roberfroid wrote:
>
>
>>In eclipse you can specify your environment variables : Run As ->
>>Environment -> New...
>>Name : LD_LIBRARY_PATH
>>Value: /path/to/qtjambi/lib:$LD_LIBRARY_PATH
>>
>>Nils wrote:
>>
>>
>>
>>>Hi all,
>>>
>>>I just wanted to ask if it's possible to run every java file in a
>>>project with LD_LIBRARY_PATH=/path/to/qtjambi/lib, because
>>>
>>>
In the build path configuration for the project, you can add "External
JARs" under the "Libraries"-tab. This could be the qtjambi.jar for
instance. If you expand the entry after you've added it, you'll see it
has an attribute called "native library location". This can be set to
$PATH_TO_QTJAMBI/lib.
In the next release of Qt Jambi, the integration will set this
automatically based on which directory you have specified as your Qt
Jambi directory in the workspace settings.
-- Eskil