From owner-freebsd-java Tue Mar 11 20:57: 3 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F62437B401 for ; Tue, 11 Mar 2003 20:57:01 -0800 (PST) Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DE3C43F3F for ; Tue, 11 Mar 2003 20:57:00 -0800 (PST) (envelope-from aah@acm.org) Received: (qmail 25878 invoked from network); 12 Mar 2003 04:57:15 -0000 Received: from unknown (HELO acm.org) (aah@[216.27.178.67]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 12 Mar 2003 04:57:15 -0000 Message-ID: <3E6E4DBC.7060806@acm.org> Date: Tue, 11 Mar 2003 12:57:32 -0800 From: Andrew Houghton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030309 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: IntelliJ IDEA && Java Version ('1.4.1-p3_1' vs '1.4.1_01') Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org IntelliJ IDEA does a pre-start check to make sure that the JVM identifies itself as version '1.4.1_01'. It breaks because the native JDK port currently identifies itself as '1.4.1-p3_1' (or something like that). There's an easy fix -- editing the version string in control/build/bsd-i586/gensrc/sun/misc/Version.java -- and after the edit IDEA at least starts and appears to work correctly so far as I've tested it. But this all leads to a question: should the version string be platform/beta specific? Are the IntelliJ folks wrong in assuming that this is a reasonable test? Would it be enough for the native JDK to muck with the static String java_runtime_version, and leave the java_version String alone? - a. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message