Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » jar file problem(bizarre!)
jar file problem [message #507366] Wed, 13 January 2010 02:55 Go to next message
Eclipse UserFriend
I've been developing a Swing-based jave project in Eclipse, right?
And I've got this bug. Noting very strange about that Razz . The strange thing is that the bug only occurs when the project is executed from a jar file after exporting it to one from eclipse. If I run the project from INSIDE eclipse, the bug doesn't happen.

So my question is this: why might it be that my code is behaving differently inside eclipse than outside it?
Re: jar file problem [message #507660 is a reply to message #507366] Thu, 14 January 2010 04:51 Go to previous messageGo to next message
Eclipse UserFriend
icreatedgems@hotmail.com wrote:
> I've been developing a Swing-based jave project in Eclipse, right?
> And I've got this bug. Noting very strange about that :p . The strange
> thing is that the bug only occurs when the project is executed from a
> jar file after exporting it to one from eclipse. If I run the project
> from INSIDE eclipse, the bug doesn't happen.
>
> So my question is this: why might it be that my code is behaving
> differently inside eclipse than outside it?
Maybe because you didn't create the JAR correctly i.e. not all classes
are packaged.

Dani
Re: jar file problem [message #507695 is a reply to message #507366] Thu, 14 January 2010 07:20 Go to previous message
Eclipse UserFriend
A fair sugestion, but nope. I'm right-clicking on the entire "src" folder of the project and selecting the Export option from there. All clases are going into the jar file, I'm pretty sure.

Besides which, I've established what portion of code is causing the bug, and it's only a quite small portion of a very large source file.And the REST of that source file is clearly working in the jar file version.
Previous Topic:How to remove blank lines of javadoc using AST?
Next Topic:Java - COM bridge.
Goto Forum:
  


Current Time: Sat Mar 15 01:51:04 EDT 2025

Powered by FUDForum. Page generated in 0.04505 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top