File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 9990
    
    7

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

Can you try setting a break point and see if its hit?
 
Don't get me started about those stupid light bulbs.
 
subject: Jar Problem
 
Similar Threads
How to use methods in a class(which is in library jar)
How to create a google search web service portlet in Weblogic
Doubt
wait and notify
Problem in Websphere