Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes IDEs, Version Control and other tools and the fly likes Jar Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Jar Problem" Watch "Jar Problem" New topic
Author

Jar Problem

S Subbu
Ranch Hand

Joined: Mar 20, 2012
Posts: 87

Hi Everybody,

I got a problem in my work. I prepared a jar file in my local system. it works fine at my system. I give up that jar file to my team member he included it in build path on MyEclipse IDE .

The problem is we created an object for a class exist in that jar file , object was created but the methods are not invoked.

What is the problem I can't understand that jar was working well at my system.

Supporse I have the logic like this

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10696
    
    9

Is the first System.out invoked? Do you see the output on the console?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
S Subbu
Ranch Hand

Joined: Mar 20, 2012
Posts: 87

System.out.println("Flow Object was Created ") is displayed on console,
the method calling and statements after the method calling are not executed.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10696
    
    9

Can you try setting a break point and see if its hit?
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Jar Problem