aspose file tools*
The moose likes Java in General and the fly likes Execution of command Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Execution of command "java -version" takes much time on AIX machine with AIX JDK 6" Watch "Execution of command "java -version" takes much time on AIX machine with AIX JDK 6" New topic
Author

Execution of command "java -version" takes much time on AIX machine with AIX JDK 6

vineet kamdar
Greenhorn

Joined: Nov 26, 2008
Posts: 3

Hello All,

I have an AIX machine on which IBM's java4, java5 and java6 are installed.
The locations are /usr/java14, /usr/java5, /usr/java6 respectively.

When I execute the command "java -version" with java4 or java5 it does not take much time. The result is displayed within a fraction of a second.
Same is not the case with java6. On execution of the same command with java6 the result is obtained after approximately 8 seconds.

I tried to check the same on a RHEL 5 machine. On RHEL the behavior is same for all versions of java. The command does not take much time to show the result.

Is there any problem with my AIX machine or this is a common issue with IBM's java6 for AIX.
If Yes, what could be the possible reason for this?

This issue is causing a critical issues. My installer is not working because of this.

Appreciate your quick response on this.

Thanks in advance.

Vineet...
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
This link doesn't answer your question but it does show you are not alone. Even the timings are similar.
vineet kamdar
Greenhorn

Joined: Nov 26, 2008
Posts: 3


Hey Tom,

Thank you very much for your response.
Relieved to see that I'm not alone to get such wierd problems.

I tried to check the same on my client's AIX machine. Surprisingly, on client's machine it works fine. Java 6 on client's machine is at /usr/java6.

Vineet...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Execution of command "java -version" takes much time on AIX machine with AIX JDK 6