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 

Native Executatable Builder JBuilder 9.0

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
Michael Myers
Guest





PostPosted: Tue Dec 02, 2003 5:05 pm    Post subject: Native Executatable Builder JBuilder 9.0 Reply with quote




When creating an executable in using the Native Executable
Builder in Jbuilder 9 I receive the
error "java.lang.UnsatisfiedLinkError: no TksPro32 in
java.library.path". In Jbuilder 8 I never received this error.
Any ideas on how to fix this problem, do I need to pass something
extra in the .config file?

Thanks..
Back to top
Michael Myers
Guest





PostPosted: Sat Dec 06, 2003 10:33 am    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote




"Michael Myers" <michael.j.myers (AT) schriever (DOT) af.mil> wrote:
Quote:

When creating an executable in using the Native Executable
Builder in Jbuilder 9 I receive the
error "java.lang.UnsatisfiedLinkError: no TksPro32 in
java.library.path". In Jbuilder 8 I never received this error.
Any ideas on how to fix this problem, do I need to pass something
extra in the .config file?

Thanks..


Has anybody seen problems with the Native Builder in JBuilder 9?
This happened when I created an executable that used JNI to
access a dll. I works fine in JBuilder 8. Just asking if
anyone else has seen the problem, then I will write up
something in QC to identify the problem.

Thanks..

Back to top
John McGrath [TeamB]
Guest





PostPosted: Thu Dec 18, 2003 11:08 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote



On 12/2/2003 at 12:05:59 PM, Michael Myers wrote:

Quote:
When creating an executable in using the Native Executable
Builder in Jbuilder 9 I receive the
error "java.lang.UnsatisfiedLinkError: no TksPro32 in
java.library.path".

That sounds very odd. Are you sure you got this when creating the
native executable, and not when trying to run the native executable
that you created?

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html

Back to top
Michael Myers
Guest





PostPosted: Wed Jan 07, 2004 3:53 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote

Thanks for the reply John. You are correct it occurs during
execution. The really weird part is that if I go back to
JBuilder 8.0 Ent I do not get this problem. It is like the
JBuilder 9.0 Ent cannot find the TksPro32.dll where as the
earlier versions can. Any ideas?

thanks....

"John McGrath [TeamB]" <ng-b (AT) JPMcGrath (DOT) net> wrote:
Quote:
On 12/2/2003 at 12:05:59 PM, Michael Myers wrote:

When creating an executable in using the Native Executable
Builder in Jbuilder 9 I receive the
error "java.lang.UnsatisfiedLinkError: no TksPro32 in
java.library.path".

That sounds very odd. Are you sure you got this when creating the
native executable, and not when trying to run the native executable
that you created?

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html


Back to top
John McGrath [TeamB]
Guest





PostPosted: Mon Jan 19, 2004 11:34 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote

On 1/7/2004 at 10:53:59 AM, Michael Myers wrote:

Quote:
You are correct it occurs during execution. The really weird
part is that if I go back to JBuilder 8.0 Ent I do not get this
problem. It is like the JBuilder 9.0 Ent cannot find the
TksPro32.dll where as the earlier versions can.

If you are having problems with the execution of a native executable,
then JBuilder is not involved, so it does not make sense to say that
JBuilder 9 cannot find the DLL.

It is not at all clear what you are doing to get this result. Would
you try to be more specific about what you are doing? How did you
build the executables? What operating system are you using? Are you
running both executables on the same machine? What do you do to run
them? What Java versions are installed on this machine (or machines)?

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html

Back to top
Michael Myers
Guest





PostPosted: Wed Jan 21, 2004 6:22 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote


John I do think it is a JBuilder 9 problem because I can take
the same code and build a executable in JBuilder 8 and I do not
receive the following error:
java.lang.UnsatisfiedLinkError: no TksPro32 in java.lang.path.
In Jbuilder 8 it finds the TksPro32 dll which is located in the C:WinNtSystem32 directory. So somehow JBuilder 8 has that
path information when it builds the executable.

I am running Windows 2000 with jdk 1.4.1. I am running the application by opening a command window and typing "LogicalDesigns.exe", which is the name of the executable.

The GUI pops up but when it needs to access the .dll the
executable does not know where to find TksPro32.dll which is
located in the C:WinNtSystem32 directory. Where in the
Native executable builder can I tell the application the path
information to the dll?

PS. I am running both the JBuilder 8 and JBuilder 9 generated
executables on the same machine.

Thanks....


"John McGrath [TeamB]" <ng-b (AT) JPMcGrath (DOT) net> wrote:
Quote:
On 1/7/2004 at 10:53:59 AM, Michael Myers wrote:

You are correct it occurs during execution. The really weird
part is that if I go back to JBuilder 8.0 Ent I do not get this
problem. It is like the JBuilder 9.0 Ent cannot find the
TksPro32.dll where as the earlier versions can.

If you are having problems with the execution of a native executable,
then JBuilder is not involved, so it does not make sense to say that
JBuilder 9 cannot find the DLL.

It is not at all clear what you are doing to get this result. Would
you try to be more specific about what you are doing? How did you
build the executables? What operating system are you using? Are you
running both executables on the same machine? What do you do to run
them? What Java versions are installed on this machine (or machines)?

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html


Back to top
John McGrath [TeamB]
Guest





PostPosted: Wed Jan 21, 2004 11:35 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote

On 1/21/2004 at 1:22:03 PM, Michael Myers wrote:

Quote:
John I do think it is a JBuilder 9 problem because I can take
the same code and build a executable in JBuilder 8 and I do not
receive the following error:

That is certainly possible. But if you are seeing the problem when you
try to run the executable from the command line, then it is not
JBuilder that cannot find the DLL. It is the executable created by
JBuilder that cannot find it. The distinction is rather important.

Have you compared the contents of the executables? They are ZIP/JAR
files, so you should be able to examine their contents using a standard
ZIP utility. Make sure you look at the ZIP comment too, as I think
some of the run options are stored there.

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html

Back to top
Michael Myers
Guest





PostPosted: Thu Jan 22, 2004 4:28 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote

Wow I did not know it was a zip file. I will compare but I
could not find the ZIP comment. Do you know you to view the
comment?

"John McGrath [TeamB]" <ng-b (AT) JPMcGrath (DOT) net> wrote:
Quote:
That is certainly possible. But if you are seeing the problem when you
try to run the executable from the command line, then it is not
JBuilder that cannot find the DLL. It is the executable created by
JBuilder that cannot find it. The distinction is rather important.

Have you compared the contents of the executables? They are ZIP/JAR
files, so you should be able to examine their contents using a standard
ZIP utility. Make sure you look at the ZIP comment too, as I think
some of the run options are stored there.

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html


Back to top
Ken Warner
Guest





PostPosted: Thu Jan 22, 2004 5:54 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote

JB9 Personal Archive Builder doen't let you build
Native Executables...

Michael Myers wrote:
Quote:
Wow I did not know it was a zip file. I will compare but I
could not find the ZIP comment. Do you know you to view the
comment?

"John McGrath [TeamB]" <ng-b (AT) JPMcGrath (DOT) net> wrote:

That is certainly possible. But if you are seeing the problem when you
try to run the executable from the command line, then it is not
JBuilder that cannot find the DLL. It is the executable created by
JBuilder that cannot find it. The distinction is rather important.

Have you compared the contents of the executables? They are ZIP/JAR
files, so you should be able to examine their contents using a standard
ZIP utility. Make sure you look at the ZIP comment too, as I think
some of the run options are stored there.

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html




Back to top
Ken Warner
Guest





PostPosted: Thu Jan 22, 2004 6:19 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote

Just after I posted the note below, I stumbled across a
pretty good article on how to package up a Java application
into a double-clickable, icon denoted, windows app.

At least that's the claim of the author...

http://today.java.net/pub/a/today/2004/01/05/swing.html?page=1

Ken Warner wrote:
Quote:
JB9 Personal Archive Builder doen't let you build
Native Executables...

Michael Myers wrote:

Wow I did not know it was a zip file. I will compare but I could not
find the ZIP comment. Do you know you to view the
comment?

"John McGrath [TeamB]" <ng-b (AT) JPMcGrath (DOT) net> wrote:

That is certainly possible. But if you are seeing the problem when you
try to run the executable from the command line, then it is not
JBuilder that cannot find the DLL. It is the executable created by
JBuilder that cannot find it. The distinction is rather important.

Have you compared the contents of the executables? They are ZIP/JAR
files, so you should be able to examine their contents using a standard
ZIP utility. Make sure you look at the ZIP comment too, as I think
some of the run options are stored there.

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html






Back to top
Michael Myers
Guest





PostPosted: Thu Jan 22, 2004 6:45 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote


Ken, I am using JBuilder 9.0 Enterprise which does have the
executable builder.

Ken Warner <kwarner (AT) cts (DOT) com> wrote:
Quote:
JB9 Personal Archive Builder doen't let you build
Native Executables...

Michael Myers wrote:
Wow I did not know it was a zip file. I will compare but I
could not find the ZIP comment. Do you know you to view the
comment?

"John McGrath [TeamB]" <ng-b (AT) JPMcGrath (DOT) net> wrote:

That is certainly possible. But if you are seeing the problem when you
try to run the executable from the command line, then it is not
JBuilder that cannot find the DLL. It is the executable created by
JBuilder that cannot find it. The distinction is rather important.

Have you compared the contents of the executables? They are ZIP/JAR
files, so you should be able to examine their contents using a standard
ZIP utility. Make sure you look at the ZIP comment too, as I think
some of the run options are stored there.

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html





Back to top
John McGrath [TeamB]
Guest





PostPosted: Thu Jan 22, 2004 8:31 pm    Post subject: Re: Native Executatable Builder JBuilder 9.0 Reply with quote

On 1/22/2004 at 11:28:57 AM, Michael Myers wrote:

Quote:
Wow I did not know it was a zip file.

It is an executable with a ZIP (really a JAR) file tacked onto the end.
The executable is essentially the same one used to launch JBuilder -
the JBuilder.exe in your JBuilder /bin directory. The JAR file is what
is created by the Archive Builder.

This works because executable files are processed from the front of the
file, while ZIP files are processed from the back end. That is also
why you need to start with the last disk in a multi-disk ZIP.

Quote:
I will compare but I could not find the ZIP comment. Do you know you
to view the comment?

I use the WinZip command line version:

wzzip -v nativeexec.exe

--
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE 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.