From owner-freebsd-java@FreeBSD.ORG Tue Apr 15 04:57:29 2003 Return-Path: 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 6EAC537B401 for ; Tue, 15 Apr 2003 04:57:29 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12EF343FB1 for ; Tue, 15 Apr 2003 04:57:25 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h3FE4Mu2034644; Tue, 15 Apr 2003 14:04:23 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h3FC44ds051325; Tue, 15 Apr 2003 15:04:04 +0300 (EEST) (envelope-from ml) Date: Tue, 15 Apr 2003 15:04:04 +0300 From: Alexey Zelkin To: Felix von Delius Message-ID: <20030415150404.A51311@phantom.cris.net> References: <20030414164142.GB19507@helix.felix.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030414164142.GB19507@helix.felix.lan>; from fvdelius@t-online.de on Mon, Apr 14, 2003 at 06:41:42PM +0200 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-java@freebsd.org Subject: Re: patch IDEA 3 to work with jdk 1.4.1-p3 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 11:57:29 -0000 hi, Please try unpatched IDEA3 with addition of '-Didea.no.jdk.check=true' flag to java command line and let me know result. ps: yep, debugging and profiling supposed to be problematic areas -- i did not have time to dig into them yet. On Mon, Apr 14, 2003 at 06:41:42PM +0200, Felix von Delius wrote: > Here's a brief hint how IntelliJ IDEA 3.0.3 can be patched to work on > FreeBSD: > > After installation, IntelliJ IDEA 3.0.3 complains about not running on > "1.4.1_O2" (the linux-jdk crashes). The problem is that the great > FreeBSD Java 1.4.1 patchset 3 does have "1.4.1-p3" instead of > "1.4.1_O2" in the java.version system property. > > The patch is easy: just patch the file > ${IDEA_HOME}/lib/idea.jar: Inside there is the file > com/intellij/idea/Main.class where the string "1.4.1_O2" has to be > replaced by "1.4.1-p3". > > I did it by unpacking idea.jar, patching the Main.class file (with > Emacs hexl-mode) and building a new jar, but since the jar is > uncompressed, it should be possible to patch it with any hex-editor > (Emacs is not too fast in hexl-mode for long files). > > IDEA works great, but debugging seems to be a problem. > > btw: does debugging work with other IDEs (Eclipse?) or is it a problem > of the jdk14 port? > > cheers, > Felix > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"