File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes SUN JDK version for AIX server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "SUN JDK version for AIX server" Watch "SUN JDK version for AIX server" New topic
Author

SUN JDK version for AIX server

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
Is there any SUN JDK available to plugin to AIX server. I have a application which runs only on sun JDK. But we are using AIX server. Hence would like to know if there is any SUN JDK version aavailable that supports AIX?

I googled on this but not much luck. Any input is appreciated.

Thanks,
Trupti
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

No, of course not. Sun doesn't ship Java for AIX. But of course IBM does.

In any case, there's no such thing as an application that "runs only on Sun's JDK." There may be some Java implementations your app won't run on, but in general, IBM's JDKs are very compatible with Sun's implementation.


[Jess in Action][AskingGoodQuestions]
trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
Ok my mistake. When I said the application runs only on sun JDK I mean it supports mainly SUN JDK.
Basically The app runs fine on widows platform but on AIX I am getting some noClassDefFound error.
I was thinking about including the some of the classes from SUN jdk in the classpath.

Thanks,
Trupti

Originally posted by Ernest Friedman-Hill:
No, of course not. Sun doesn't ship Java for AIX. But of course IBM does.

In any case, there's no such thing as an application that "runs only on Sun's JDK." There may be some Java implementations your app won't run on, but in general, IBM's JDKs are very compatible with Sun's implementation.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
[EFH]: In any case, there's no such thing as an application that "runs only on Sun's JDK."

Well, there could be such a thing (e.g. if someone's directly using the com.sun classes), but I don't think there's any good reason why there should be.

[trupti]: The app runs fine on widows platform but on AIX I am getting some noClassDefFound error.

What are some of the classes that can't be located?


"I'm not back." - Bill Harding, Twister
trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
Originally posted by Jim Yingst:
[EFH]: In any case, there's no such thing as an application that "runs only on Sun's JDK."

Well, there could be such a thing (e.g. if someone's directly using the com.sun classes), but I don't think there's any good reason why there should be.

[trupti]: The app runs fine on widows platform but on AIX I am getting some noClassDefFound error.

What are some of the classes that can't be located?


Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider

I just verified the app directly uses this class (like com.sun ..)

Thanks,
Trupti
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18825
    
  40

Originally posted by trupti nigam:

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider

I just verified the app directly uses this class (like com.sun ..)

Thanks,
Trupti


Unfortunately, this is a common problem with many older software packages -- they incorrectly just use the Sun security classes for SSL. The correct way to do this is to use the "security.provider" properties which is set to different values with the IBM JVM.

If this is the problem, then you are out of luck -- without the source to the library, you have to use Sun JDK.

These properties are set in the "jre/lib/security/java.security" property file. If you happen to have the source, check the file to see what classes you should use and hack it -- or fix the library to use the property.


EDIT: Sorry, did read your response clearly. You do have the source. Anyway, you can quickly change the code to use the classes specified in the security file -- or read the property so that it will run on both Sun and IBM correctly.

Henry
[ December 20, 2006: Message edited by: Henry Wong ]

Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
bvijay balan
Greenhorn

Joined: Oct 17, 2004
Posts: 3
Hi All,

I want to install sun JDK 1.5.0_11 in AIX 5.3 server. But I don�t know how to install.

Can anybody let me know the download link and how to install procedure?

I have downloaded the sun jdk 1.5.0_11 from Archive: Download Java 2 Platform Standard Edition (J2SE) 5.0 Update 11 site for Linux version.

I thought if I download Linux version JDK means; it will work in AIX 5.3.

But while installation it is throwing the following error.

-----------------------------------------------------------------------
For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa Clara, California 95054, U.S.A.
(LFI#143333/Form ID#011801)

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
./jdk-1_5_0_11-linux-amd64-rpm.bin: ./install.sfx.753908: 0403-006 Execute permission denied.

Done.
bash-3.00#

-----------------------------------------------------------------------

Can any body help me on this..
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3528
    
  15
Don't ask the same question multiple times, especially when the answer had already been given in the first reply to this thread.
[ November 18, 2008: Message edited by: Joanne Neal ]

Joanne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SUN JDK version for AIX server