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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:42:13+00:00 2026-05-22T01:42:13+00:00

I just finished a Java application to link to Sicstus prolog. Now I need

  • 0

I just finished a Java application to link to Sicstus prolog. Now I need to deploy it but I’m having the following problem, the Sicstus library to link with Java requires that the application be called with the following sintax:

java -classpath=path/to/sicstus/installation/dir -jar /path/to/jarfile.jar    

I’m deploying a .sh or .bat file but the user has to edit it manually and state where the sicstus installation directory is. How can I avoid that?

I’m really stuck here. I’ve tried a couple of installers builders like JSmooth and GlassWorks but those doesn’t fix my problem. Any idea?

Joshua.

  • 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-22T01:42:14+00:00Added an answer on May 22, 2026 at 1:42 am

    Use IzPack in order to create installers. With this you gain the ability to install an application in the desired directory.

    http://izpack.org

    Furthermore you can also parse the bat file to point the installation directory by doing the following:

    Create a bat file like this run.bat:

    java -classpath=$INSTALL_PATH/lib/alib.jar  -jar $INSTALL_PATH/bin/myapp.jar
    

    And specify the following in the install.xml:

    <pack name="Base" required="yes">
            <file src="run.bat" targetdir="$INSTALL_PATH" override="true" />
                    <parsable targetfile="$INSTALL_PATH/run.bat"/>
    </pack>
    

    This will parse the bat and replace it with the installation directory.

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

Sidebar

Related Questions

I have an application with just a visible WebView component to it which is
We have a (very) multithreaded application that would pass all unit tests, but would
I just finished my first own example with activities/places and MVP. all works fine
I just finished reading Programming Concurrency on the JVM by Venkat Subramaniam and in
I have just finished putting a login and register bit on my website and
Just wondering how users translate their software, I've just finished making my software able
Trying to configure Jenkins CI. Currently just running it from the .war (eventual intention
(please excuse that I didn't use aliases). I would like my query output to
I'm working on a project in C# w/ XNA, and I want to reorganize
I am playing with TFS 2010, and am trying to setup a build process

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.