Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 13:49:17 -0000
From:      "Bissell, Tim" <Tim.Bissell@DRKW.com>
To:        java@FreeBSD.ORG
Subject:   RE: IDEs
Message-ID:  <29B6DBEE0BB35C4CB791CFE233278191ACB740@IBLONCE117>

next in thread | raw e-mail | index | archive | help

Yes, Idea 3.0 will only work with JDK 1.4.1_01 (not 1.4.0, not 1.4.1), and
fails exactly the same way when run with JDK 1.3.1 on MacOS X.
I really like Idea (18 years of using Emacs as my code editor, Idea was the
first Java IDE to tempt me) but I can't help feeling that IntelliJ have shot
themselves in the foot by making 3.0 run under 1.4.1 only, _and_ removing
the Idea 2.6 download at the same time...

Tim
> -----Original Message-----
> From: Alexey Zelkin [mailto:phantom@FreeBSD.org.ua]
> Sent: 21 November 2002 09:32
> To: Andreas Kohn
> Cc: Alexey Zelkin; Jon Barber; Matt Smith; java@FreeBSD.ORG
> Subject: Re: IDEs
> 
> 
> On Wed, Nov 20, 2002 at 09:11:14PM +0100, Andreas Kohn wrote:
> > 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:
> 
> As Jon said in one of previous letters -- IDEA 3.0 is distributing
> with jdk 1.4. So, error can only be related to that its classes were
> compiled with jdk 1.4. Since 1.4 and 1.3 are not forward 
> compatible, so
> it won't be executed under 1.3 at all. I think you need to 
> check things
> related to your attempts with jdk 1.4 again. It just should 
> work. Or fail,
> but with different error. :)
> 
> > (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 <andreas.kohn@gmx.net>
> 
> > 
> > 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)
> > #
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-java" in the body of the message
> 


----------------------------------------------------------------------
If you have received this e-mail in error or wish to read our e-mail 
disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender.
----------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29B6DBEE0BB35C4CB791CFE233278191ACB740>