🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.compiler
3 messages
3 total messages Started by ge jeff Fri, 21 Apr 2006 20:26
executable jar not run in Linux
#114
Author: ge jeff
Date: Fri, 21 Apr 2006 20:26
18 lines
1338 bytes
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
Re: executable jar not run in Linux
#115
Author: Doychin Bondzhev
Date: Sat, 22 Apr 2006 10:07
33 lines
1954 bytes
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
> 
> 
> 
Re: executable jar not run in Linux
#116
Author: Ge Jeff
Date: Tue, 25 Apr 2006 13:26
50 lines
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
>> 
>> 
>> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads