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 6052747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:57:45+00:00 2026-05-23T07:57:45+00:00

I am trying to run a program which is executed by running the following

  • 0

I am trying to run a program which is executed by running the following batch file:

@echo off

rem Add extra JVM options here

set OPTS=-Xms64m -Xmx256m

rem Build command line arguments

set CMD_LINE_ARGS=%1

if “”%1″”==”””” goto doneStart

shift

:setupArgs

if “”%1″”==”””” goto doneStart

set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1

shift

goto setupArgs

:doneStart

rem Launch the DCS

java %OPTS% -Djava.ext.dirs=lib -Ddcs.war=war/carrot2-dcs.war org.carrot2.dcs.DcsApp

%CMD_LINE_ARGS%

This batch file sets up the program at http://localhost:8080 (I believe it’s a servlet). The program is a cluster engine similar to the one here: http://search.carrot2.org/stable/search. Everything seems to work, but I get the following command prompt output from executing the batch file.

[INFO] Starting DCS…

[INFO] Native LAPACK not available: no nni_lapack in java.library.path

[INFO] Native BLAS not available: no nni_blas in java.library.path

[INFO] DCS started on port: 8080

I managed to find the LAPACK and BLAS libraries online, but how do I add them to java.library.path (and how do I find what java.library.path points to)?

If anyone who’d like to help me needs some additional information or clarification, please let me know. I’m pretty new to java web development.

  • 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-23T07:57:45+00:00Added an answer on May 23, 2026 at 7:57 am

    java.library.path is used by Java to find native libraries (dlls on Windows). You need to download LAPACK and BLAS libraries somewhere (e.g. in C:\path\lapack\lib and C:\path\blas\lib). You then need to set java.library.path appropriately when you call your program. For example:

    java %OPTS% -Djava.library.path=C:\path\lapack\lib;C:\path\blas\lib -Djava.ext.dirs=lib -Ddcs.war=war/carrot2-dcs.war org.carrot2.dcs.DcsApp
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying run a program from a qmake .pro file which modifies the
I'm trying to create batch file which should have this commands: cd c:\Program files\NuSMV\2.5.2\bin\
I'm trying to run the sample program, which comes with Google Data API. I
Trying to run my program in FreeBSD OS, I have the following results: $
When i am trying to run my program it is giving the following error
Hey everyone, I am trying to run the following program, but am getting a
I'm trying to make a program, which would run cl.exe (C/C++ compiler) and compile
As an experiment i am trying to write the following program which allows me
This is frustrating. I'm trying to run a program which loads into memory a
I am new to Java and am trying to run a program using Eclipse.

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.