Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 626247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:23:51+00:00 2026-05-13T19:23:51+00:00

I got a native library that needs to be added to java.library.path . With

  • 0

I got a native library that needs to be added to java.library.path. With JVM argument -Djava.library.path=path… I can set the path as I want.

My problem is that my other library (pentaho reporting) searches fonts based on the default java.library.path (including system directories etc) and the manual setting overrides the default path..

So : how can I add a path entry to the default java.library.path instead of overriding it (which seems to be done with -Djava.library.path)? (I wouldn’t want to add the default path by hand, which wouldn’t be nice for the sake of deployment)

EDIT: Sorry for missing details; I’m working with Eclipse. (The deployment is done with JNLP and there I can use nativelib under resources)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:23:52+00:00Added an answer on May 13, 2026 at 7:23 pm

    Had forgotten this issue… I was actually asking with Eclipse, sorry for not stating that originally.
    And the answer seems to be too simple (at least with 3.5; probably with older versions also):

    Java run configuration’s Arguments : VM arguments:

    -Djava.library.path="${workspace_loc:project}\lib;${env_var:PATH}"
    

    Must not forget the quotation marks, otherwise there are problems with spaces in PATH.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 533k
  • Answers 533k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can use a transformation like : yourButton.transform = CGAffineTransformMakeRotation(45.0*M_PI/180.0);… May 17, 2026 at 12:23 am
  • Editorial Team
    Editorial Team added an answer I looked through the ASP.NET MVC 2.0 source code and… May 17, 2026 at 12:23 am
  • Editorial Team
    Editorial Team added an answer ok, i found the stupid simple problem. the MailComposer-View was… May 17, 2026 at 12:23 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I am writing a C library that reads a file into memory. It skips
I'm trying to debug an android app that call native code to do some
I found a wonderful open source Java program that I'm translating into C#. The
I tried to increase the heap size like the below C:\Data\Guru\Code\Got\adminservice\adminservice>java -Xms512m -Xmx512m Usage:
I am using the Java Native Interface to include some statically compiled code in
There is an enum of all supported processor architectures here: http://msdn.microsoft.com/en-us/library/system.reflection.processorarchitecture.aspx Is there any
I'm writing an application with GWT and I found on the internet that there's
I was trying to install webrat on my Mac, but I've got the error,
I'm just about to make my first trip into the world of JNI (Java
I am working on a GUI application that will be used to perform manual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.