From owner-freebsd-java Wed Nov 20 12:10:46 2002 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 B648937B404 for ; Wed, 20 Nov 2002 12:10:41 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 208A343E8A for ; Wed, 20 Nov 2002 12:10:40 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 4770 invoked by uid 0); 20 Nov 2002 20:10:38 -0000 Received: from unknown (HELO ?172.16.32.190?) (212.204.32.190) by mail.gmx.net (mp019-rz3) with SMTP; 20 Nov 2002 20:10:38 -0000 Subject: Re: IDEs From: Andreas Kohn To: Alexey Zelkin Cc: Jon Barber , Matt Smith , java@FreeBSD.ORG In-Reply-To: <20021120193946.A43416@phantom.cris.net> References: <1037803230.1305.6.camel@d80h149.public.uconn.edu> <3DDB9FD5.1020704@acm.org> <1037806247.69397.22.camel@klamath.ankon.homeip.net> <20021120193946.A43416@phantom.cris.net> Content-Type: multipart/mixed; boundary="=-5pY/7YxDvNuC6UJfz4Mt" Organization: Message-Id: <1037823071.69397.75.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 20 Nov 2002 21:11:14 +0100 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 --=-5pY/7YxDvNuC6UJfz4Mt Content-Type: text/plain Content-Transfer-Encoding: 7bit Am Wed, 2002-11-20 um 18.39 schrieb Alexey Zelkin: > hi, > > Hmm... That's strange. Can you please try it with linux-sun jdk 1.3 ? Done. Doesn't work either. My current attempts to make it run: (this is all about idea 3.0, I couldn't find an older version to try yet.) Generic UN*X download 1. untar it, link the jre directories to the right positions as mentioned in Install.txt, same with the libs 2. cd bin; ./idea.sh -> this results in the first error. 3. set JDK_HOME, JAVA_HOME, PATH to point to the linux-sun-jdk1.3.1, change jre and libs 4. run idea.sh: same error message as before, but with different line numbers (!?) ---8<----- klamath# ./idea.sh Exception in thread "main" java.lang.UnsupportedClassVersionError: com/intellij/idea/Main (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:488) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106) at java.net.URLClassLoader.defineClass(URLClassLoader.java:243) at java.net.URLClassLoader.access$100(URLClassLoader.java:51) at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:183) at java.lang.ClassLoader.loadClass(ClassLoader.java:294) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281) at java.lang.ClassLoader.loadClass(ClassLoader.java:250) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) klamath# java -version java version "1.3.1_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_05-b02) Classic VM (build 1.3.1_05-b02, green threads, nojit) klamath# which java /usr/local/linux-sun-jdk1.3.1/bin/java klamath# echo $JDK_HOME /usr/local/linux-sun-jdk1.3.1 klamath# echo $JAVA_HOME /usr/local/linux-sun-jdk1.3.1 ---->8------ Now, I downloaded the Linux binary installer. Everything seemed to work well, besides 2 points: 1. The installer took a quite long time to close itself after I pressed the final "done" button. 2. It didn't install symlinks into /usr/local/bin, as it was instructed. Running idea gives me a signal 11, full error message is attached. This signal occured shortly after I saw the main window of IDEA, it even asked me for my evaluation licence key and user name. Pay attention to the fact that the JRE it ran was 1.4.1, which was apparently included in the download. Trying to force it to use the installed native jdk didn't work with the following error Unable to locate the application's 'main' class. The class 'com.intellij.idea.Main' must be public and have a 'public static void main(String[])' method. (LAX) (I only set lax.nl.vm.current in the bin/idea.lax file to my java, is there more to be done?) My next steps are trying the JDK 1.4-p1 native version, but compiling the JDK on my machine will require much time. If there is more information that I can provide, please tell me. I'm willing to spend some time on this. Thanks, Andreas. PS: I read the Install.txt again, it says it will need the JDK 1.4, so perhaps this will work soon. I'll post a message whether it does then. > > I have tried IDEA 2.5.2 as final exercise with local built snapshot > of jdk1.4-p1 before its public release. It worked fine, but I've got > a IDEA's warning on setup that jdk1.4 is highly NOT recomended with > it. And proposed me to setup jdk1.3 instead. So, I think it's local or > FreeBSD port problem, which need to be addressed. > > On Wed, Nov 20, 2002 at 04:30:48PM +0100, Andreas Kohn wrote: > > Hello! > > > > Which JDK do I need for IDEA? I'm currently using native jdk1.3, but it > > won't start up > > [ > > klamath# ./idea.sh > > Exception in thread "main" java.lang.UnsupportedClassVersionError: > > com/intellij/idea/Main (Unsupported major.minor version 48.0) > > at java.lang.ClassLoader.defineClass0(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486) > > at > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) > > ] > > > > Which JDK do you use? > > > > This is a FreeBSD-STABLE [FreeBSD klamath.ankon.homeip.net 4.7-STABLE > > FreeBSD 4.7-STABLE #4: Wed Nov 13 21:29:49 CET 2002 > > andreas@klamath.ankon.homeip.net:/storage/usr/obj/usr/src/sys/KLAMATH > > i386] > > > > Regards, > > Andreas Kohn > > > > Am Wed, 2002-11-20 um 15.44 schrieb Jon Barber: > > > IDEA by IntelliJ - Jehovah's own IDE : www.intellij.com > > > http://www.intellij.com/idea/ > > > > > > Seriously, I've been using IDEs for 6 years or so, and previously > > > JBuilder was my favourite, but IDEA is by far the best I have tried. > > > > > > Jon. > > > > > > Matt Smith wrote: > > > > > > >All- > > > > Are there certain IDEs you all use for Java coding? Of course, I > > > >expect vi, [x]emacs, jEdit, but how about complete environments? I have > > > >been using Netbeans 3.4 with good success under linux-sun-jdk1.3.1, but > > > >find that it crawls on my 1.8 GHz P4/512 MB RAM. So, I am wondering > > > >what you all use that might be faster, but still as "all-inclusive" as > > > >Netbeans. > > > > > > > >Thanks all, > > > >-Matt -- Andreas Kohn --=-5pY/7YxDvNuC6UJfz4Mt Content-Disposition: attachment; filename=hs_err_pid83036.log Content-Type: text/plain; name=hs_err_pid83036.log; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Unexpected Signal : 11 occurred at PC=0x2A19BEBF Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Dynamic libraries: Can not get information for pid = 83078 Local Time = Wed Nov 20 19:52:17 2002 Elapsed Time = 245 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002E6 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # --=-5pY/7YxDvNuC6UJfz4Mt-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message