jdk1.2.2 and idea 3.0

Hi,

Does "idea 3.0" work with jdk1.2.2 ? Because I add tarjet jdk 1.2.2 and the
classes don't compile.

I see the following errors:

java.lang.ClassNotFoundException:com.sun.tools.javac.Main


But I compile with jdk1.3, I haven't problems.



Thank you for your help,
Noel

3 comments
Comment actions Permalink

Hi Noel,

IDEA does work with JDK 1.2.2
Please check that tools.jar can be found in your "jdk-home/lib" directory.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Noel" <jiveadmin@intellij.net> wrote in message
news:1192361.1035809209079.JavaMail.jrun@is.intellij.net...

Hi,

>

Does "idea 3.0" work with jdk1.2.2 ? Because I add tarjet jdk 1.2.2 and

the

classes don't compile.

>

I see the following errors:

>

java.lang.ClassNotFoundException:com.sun.tools.javac.Main

>
>

But I compile with jdk1.3, I haven't problems.

>
>
>

Thank you for your help,
Noel

>
>


0
Comment actions Permalink

Hi,

I am having the same problem. tools.jar is in my "jdk-home/lib" directory, but IntelliJ still won't compile even the simplest class under JDK1.2.2. I have tried it with both IntelliJ versions 3.0.2 and 3.0.4, but neither has worked. I can take the same java file and compile it just fine under other JDK versions (1.3.x and 1.4.x). Any ideas would be greatly appreciated!!


Here is the error message I get:
Information: 1 error
Information: 0 warnings
Information: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
Information: at java.net.URLClassLoader$1.run(URLClassLoader.java:196)
Information: at java.security.AccessController.doPrivileged(Native Method)
Information: at java.net.URLClassLoader.findClass(URLClassLoader.java:185)
Information: at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
Information: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
Information: at java.lang.ClassLoader.loadClass(ClassLoader.java:249)
Information: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:308)
Information: at java.lang.Class.forName0(Native Method)
Information: at java.lang.Class.forName(Class.java:117)
Information: at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java, Compiled Code)
Information: Exception in thread "main"
Error: line (0) The compiler did not terminate normally. Exit code is 1



Thanks,
Joe

0
Comment actions Permalink

Just installed version 3.0.4 and tried it with both JDK 1.2.2 and 1.2.2_011. Everything compiles fine.
Could you please create a small project with the simplest class, that illustrates the behaviour, and send it (the class, .ipr, .iws
files) to me directly?

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"

"Joe Aurilia, Jr." <no_mail@jetbrains.com> wrote in message news:33378807.1056587889349.JavaMail.itn@is.intellij.net...

Hi,

>

I am having the same problem. tools.jar is in my "jdk-home/lib" directory, but IntelliJ still won't compile even the simplest

class under JDK1.2.2. I have tried it with both IntelliJ versions 3.0.2 and 3.0.4, but neither has worked. I can take the same
java file and compile it just fine under other JDK versions (1.3.x and 1.4.x). Any ideas would be greatly appreciated!!
>
>

Here is the error message I get:
Information: 1 error
Information: 0 warnings
Information: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
Information: at java.net.URLClassLoader$1.run(URLClassLoader.java:196)
Information: at java.security.AccessController.doPrivileged(Native Method)
Information: at java.net.URLClassLoader.findClass(URLClassLoader.java:185)
Information: at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
Information: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
Information: at java.lang.ClassLoader.loadClass(ClassLoader.java:249)
Information: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:308)
Information: at java.lang.Class.forName0(Native Method)
Information: at java.lang.Class.forName(Class.java:117)
Information: at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java, Compiled Code)
Information: Exception in thread "main"
Error: line (0) The compiler did not terminate normally. Exit code is 1

>
>
>

Thanks,
Joe



0

Please sign in to leave a comment.