Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
vineet kamdar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link doesn't answer your question but it does show you are not alone. Even the timings are similar.
 
vineet kamdar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic