|
Uninstalling the current version:
Display the current version and the installed subset: # java -version java version "1.1.7B-2" # setld –i |grep OSFJAVA OSFJAVA440 installed Java 1.1.7B-2 Environment (General Application) Delete this subset : # setld –d OSFJAVA440 … Are you sure you wish to delete “Java 1.1.7B-2 Environment“(OSFJAVA440)? (y/n): Y Deleting “Java 1.1.7B-2 Environment “ (OSFJAVA440).
Installing the new version Install the subsets: # setld -l /usr/PRODUCTS/JAVA/SDK *** Enter subset selections *** Example … Documentation Kit: 1) Java 1.2.2-12 Online Documentation Software Development: 2) Java 1.2.2-12 Development Environment 3) ALL mandatory and all optional subset 4) MANDATORY subsets only 5) CANCEL selections and redisplay menu 6) EXIT without installing any subsets … Choices (for example, 1 2 4-6): 3 You are installing the following mandatory subsets: Java 1.2.2-12 Development Environment You are installing the following mandatory subsets: - Documentation Kit: Java 1.2.2-12 Online Documentation - Software Development: Java 1.2.2-12 Development Environment Is this correct? (y/n): y … Loading 1 of 3 subset(s).... … 3 of 3 subset(s) installed successfully. … Verify that Java SDK new version is installed: # setld –i |grep JAVA JAVA122 installed Java 1.2.2-12 Environment (General Appli.) Example JAVADEV122 installed Java 1.2.2-12 Development Environment(Software Dev.) JAVADOC122 installed Java 1.2.2-12 Online Documentation (Documentation Kit) OSFJAVA440 Java 1.1.7B-2 Environment (General Application) # java -version java version "1.2.2-12" Classic VM (build J2SDK.v.1.2.2:08/14/2001:00, native threads, jit_122)
|