From owner-freebsd-java@FreeBSD.ORG Fri May 23 08:18:02 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 07DB637B401 for ; Fri, 23 May 2003 08:18:02 -0700 (PDT) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55A0A43F85 for ; Fri, 23 May 2003 08:18:01 -0700 (PDT) (envelope-from aah@acm.org) Received: (qmail 16455 invoked from network); 23 May 2003 15:18:00 -0000 Received: from unknown (HELO acm.org) (aah@[216.27.178.67]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 May 2003 15:18:00 -0000 Message-ID: <3ECE3BA7.5020002@acm.org> Date: Fri, 23 May 2003 08:17:59 -0700 From: Andrew Houghton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030428 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sheldon Hearn References: <3EC479A1.5080202@acm.org> <20030523140351.GF40015@starjuice.net> In-Reply-To: <20030523140351.GF40015@starjuice.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: IntelliJ IDEA, JDK 1.4.1-p3, 5.0-p7, "Bad file descriptor" 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: Fri, 23 May 2003 15:18:02 -0000 Sheldon Hearn wrote: >On (2003/05/15 22:39), Andrew Houghton wrote: > > > >>When I first create a project in the IDE, and the jar files are copied >>to the ~/.IntelliJIdea cache directory, I'm getting little dialog boxes >>that somethine like "Cannot copy to >>/usr/home/aah/.IntelliJIdea/system/jars/: Bad file >>descriptor". When I look in the .../system/jars directory, everything >>looks fine. >> >>I'm also seeing this when I try compilations on projects. I see the >>compilation proceed and I see errors and warnings -- briefly -- showing >>source paths and line numbers. Somewhere in the middle of the >>compilation, most (but not all) of those error references go away and >>the lines say 'Bad file descriptor'. >> >>Does anyone else using IDEA see this? >> >> > >Yes. I just got it trying to create my first project, the first time I >ran IDEA. Not a great first impression. > >I deviated a little from the installation instructions, which wanted me >to copy the entire JRE into the IDEA home directory. Yeah, right! > >However, you're saying you get these during compilation? Have you got >any symlinks in your source tree? > >I don't know what the problem is, just trying to find common ground. > >Ciao, >Sheldon. > > > Well, I've been using IDEA a lot lately at work, on linux boxes, and I have to say I love it. I've had to make fewer changes in the way I think about projects to get traction with it than with most of the other IDEs I've seen (JEdit being a notable exception, but I think that's because JEdit was a thin emacs replacement for me). Anyway -- the problems on my FreeBSD box at home are annoying, to say the least. I get these errors during compilation, too. Maybe you'll have better luck with their log file than I did.. check ~/.IntelliJIdea/system/log/idea.log; when I looked through mine, I couldn't see any exceptions that implied this problem. I'm seeing these errors with both jikes and javac compilers. The next test is to set it up and run it under linux-jdk14; if it works, at least this can be narrowed down to a native JDK problem (I think). I just don't have time this morning, maybe I'll try tomorrow. Oh, and no -- no symlinks for me, disk space is cheap. :) - a.