From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fmq36-0007HF-Cu for garchives@archives.gentoo.org; Sun, 04 Jun 2006 10:41:36 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k54AeO9N007440; Sun, 4 Jun 2006 10:40:24 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k54AeN6l016997 for ; Sun, 4 Jun 2006 10:40:23 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0C335649AD for ; Sun, 4 Jun 2006 10:40:23 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02345-04 for ; Sun, 4 Jun 2006 10:40:12 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id EC50B64A76 for ; Sun, 4 Jun 2006 10:40:06 +0000 (UTC) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Fmq1a-0003qf-08 for gentoo-java@gentoo.org; Sun, 04 Jun 2006 12:40:02 +0200 Received: from c-68-39-44-30.hsd1.nj.comcast.net ([68.39.44.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jun 2006 12:40:01 +0200 Received: from pete4abw by c-68-39-44-30.hsd1.nj.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 04 Jun 2006 12:40:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-java@lists.gentoo.org From: Peter Subject: [gentoo-java] Sun Java JDK 1.4* and Sun Java JRE 1.5 issue Date: Sun, 04 Jun 2006 06:34:07 -0400 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-68-39-44-30.hsd1.nj.comcast.net User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-Archive: encrypt Sender: news X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-1.982 required=5.5 tests=[AWL=0.617, BAYES_00=-2.599] X-Spam-Score: -1.982 X-Spam-Level: X-Archives-Salt: f7a55a90-43bd-4307-af51-a801d5989609 X-Archives-Hash: 10c4a8b794a69b682b023e1e694b41c3 While not the Java expert, I wanted to take a look at the 1.5 JRE for use with a browser. Following the very clear directions presented, I emerged the 1.5 JRE and then: # java-config -S sun-jdk-1.4.2.10 then as user $ java-config -s sun-jre-bin-1.5.0.06-r2 Then I sourced the ~/.gentoo/java-env file as instructed. When I fired up firefox, the 1.4.2.10 java vm was shown as used when I did about:plugins. Now, if I unmerge the jre, and emerge the 1.5 jdk and follow the java-config steps above, about:plugins shows 1.5 being used for the user. Only thing I can think of is that when I sourced the java-env file for the JRE, the environment variable JDK_HOME still pointed to 1.4 (and correctly so, since that is the only JDK). Perhaps that confused firefox? Lastly, I removed all JDKs and just emerged 1.5-jre-bin and tested the browser. Without a JDK installed, the browser did pick up the proper VM, 1.5 in this test. Of course, I had to reinstall the 1.4 jdk again. If I did something wrong by installing a JRE, please advise. If you would like me to do more testing or try something different, please let me know. Maybe it's something as simple as needing to unser the JDK_HOME variable. HTH -- Peter -- gentoo-java@gentoo.org mailing list