| Subject | : | How do one change the default Jave version from one to another? |
| Author | : | Kim |
| Date | : | 29 Jun, 2002 on 22:42 |
| When installing latest version of OS2 and Java 1.3 one gets a question if Java 1.3 should be the default JVM or not. What files should be changed to either change from version 1.3 to 1.1.8 or other way around, 1.1.8 to 1.3 ? Anyone knows? /Kim |
| Subject | : | Re:How do one change the default Jave version from one to another? |
| Author | : | JasonL fdt93@yahoo.com |
| Date | : | 30 Jun, 2002 on 09:54 |
| Perhaps switching the order in which the respective directories appear in the java/class path environment variables in config.sys would do it. |
| Subject | : | Re:How do one change the default Jave version from one to another? |
| Author | : | Kim |
| Date | : | 17 Jul, 2002 on 01:21 |
| Hmm.. would it really be that simple? Sounds to good, well I've just have to check it out! |
| Subject | : | Re:How do one change the default Jave version from one to another? |
| Author | : | JasonL fdt93@yahoo.com |
| Date | : | 18 Jul, 2002 on 19:35 |
| Well, it was a somewhat educated guess. I haven't actually tried it myself. It's just that I remember reading in the installation instructions for 1.1.8 to make sure the 1.1.8 class directories appeared in the class path before any other directories. So... one could assume that if you put the 1.1.8 directory before the 1.3 directory in the class path, then the Java apps you run will always look in the 1.1.8 directories first. This should not disable 1.3 support because when a java app tries to load a class that does not exist in the 1.1.8 directory, it should then look in the 1.3 directory. Oh, wait.... not sure what would happen if there are 2 versions of the same class. A 1.3 app finding the 1.1.8 version of a class might produce unexpected results if it loads at all. I haven't looked in the ini files to see if there's any kind of entry that determines default Java version. JasonL |