Article View: borland.public.jbuilder.compiler
Article #116Re: executable jar not run in Linux
From: Ge Jeff
Date: Tue, 25 Apr 2006 13:26
Date: Tue, 25 Apr 2006 13:26
50 lines
2194 bytes
2194 bytes
Thanks Doychin: You are right. I copied linux.bin from JB9/lib/ to JB2005/lib (replace it). Then, it works. Thanks again J Doychin Bondzhev <doychin@dsoft-bg.com> wrote: >I had similar problem with Solaris and what I did was to copy the >startup bin files from lib directory of JBuilder X to the lib directory >of JB 2005/2006 > >This way the resulting executable is still able to detect java through >the path or by using JAVA_HOME environment variable. > >Since JBuilder 2005 there is some change in these executables and Linux >and Solaris versions require javahome option in their config file. > >Doychin Bondzhev > >ge jeff wrote: >> Hi, All: >> >> The executable jar created from JBuilder 2005 doesn't run in Linux ( SUSE 10). Windows verion is fine in windows sytem. What is the problem here?? >> >> To run it, I have to provide +javahome for it even my java is in the path already. Or just use jar. >> >> >> Same setting , it is fine for JB7. >> >> >> If I provided config and jdk.config, it would not find main class although it is indicated in config file. >> >> >> Any suggestion or tips? please let me know. Thanks. >> >> >> J >> >> >>
Technical Details
Message-ID:
<444e237d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!newsfeed.yul.equant.net!news-out.nntp.be!sp6iad.superfeed.net!in2.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<44494004$1@newsgroups.borland.com> <444a0066@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 109107,ce74b0c097f2c063 X-Google-Attributes: gid109107,public X-Google-Language: ENGLISH,ASCII-7-bit Subject: Re: executable jar not run in Linux From: "Ge Jeff" <ge.jeff@gmail.com> Date: 25 Apr 2006 06:26:21 -0700 Message-ID: <444e237d$1@newsgroups.borland.com> References: <44494004$1@newsgroups.borland.com> <444a0066@newsgroups.borland.com> Lines: 51 NNTP-Posting-Host: 207.105.83.66 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!transit3.readnews.com!news-out.readnews.com!newsfeed.yul.equant.net!news-out.nntp.be!sp6iad.superfeed.net!in2.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail Newsgroups: borland.public.jbuilder.compiler X-Trace: newsgroups.borland.com 1145971581 207.105.83.66 (25 Apr 2006 06:26:21 -0700) Reply-to: "Ge Jeff" <ge.jeff@gmail.com> Sender: "Ge Jeff" <ge.jeff@gmail.com> X-User-Info: 132.206.232.169