BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

executable jar not run in Linux

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler
View previous topic :: View next topic  
Author Message
ge jeff
Guest





PostPosted: Fri Apr 21, 2006 9:04 pm    Post subject: executable jar not run in Linux Reply with quote



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
Back to top
Doychin Bondzhev
Guest





PostPosted: Sat Apr 22, 2006 11:04 am    Post subject: Re: executable jar not run in Linux Reply with quote



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:
Quote:
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


Back to top
Ge Jeff
Guest





PostPosted: Tue Apr 25, 2006 2:04 pm    Post subject: Re: executable jar not run in Linux Reply with quote



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:
Quote:
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


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Compiler All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.