Pallada with JDK 1.5

I am trying to run Pallada 2097 with JDK 1.5 beta 2. I copied the jre from the JDK to idea and added the no-check for jdk version in idea.bat.

When I am trying to run idea I am running into the following error:

Any help? What am I doing wrong?

Error message: Original exception:
java.lang.NoClassDefFoundError: com/sun/jdi/VMDisconnectedException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:233)
at com.intellij.openapi.l.b.a.b(a.java:321)
at com.intellij.openapi.l.b.a.c(a.java:125)
at com.intellij.openapi.l.b.a.c(a.java:352)
at com.intellij.openapi.l.b.a.a(a.java:270)
at com.intellij.openapi.l.b.a.readExternal(a.java:390)
at com.intellij.openapi.c.b.a.b(a.java:146)
at com.intellij.openapi.c.b.a.a(a.java:78)
at com.intellij.openapi.c.b.a.a(a.java:1)
at com.intellij.openapi.c.b.a.b(a.java:105)
at com.intellij.openapi.c.b.a.getComponent(a.java:181)
at com.intellij.openapi.c.b.a.getComponent(a.java:233)
at com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:19)
at com.intellij.openapi.wm.impl.w.createContentPane(w.java:35)
at javax.swing.JRootPane.(JRootPane.java:313) at com.intellij.openapi.wm.impl.w.(w.java:19) at com.intellij.openapi.wm.impl.q.createRootPane(q.java:31) at javax.swing.JFrame.frameInit(JFrame.java:228) at javax.swing.JFrame.(JFrame.java:195) at com.intellij.openapi.wm.impl.q.(q.java:4) at com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:79) at com.intellij.openapi.c.b.a.a(a.java:6) at com.intellij.openapi.c.b.a.b(a.java:105) at com.intellij.openapi.c.b.a.getComponent(a.java:181) at com.intellij.openapi.c.b.a.getComponent(a.java:233) at com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:14) at com.intellij.openapi.wm.impl.c.]]>(c.java:516)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
at com.intellij.openapi.o.b.d.e(d.java:171)
at com.intellij.openapi.c.b.a.a(a.java:109)
at com.intellij.openapi.c.b.a.l(a.java:230)
at com.intellij.openapi.c.b.a.j(a.java:80)
at com.intellij.openapi.o.b.c.s(c.java:104)
at com.intellij.openapi.o.b.d.s(d.java:93)
at com.intellij.openapi.o.b.b.a(b.java:105)
at com.intellij.openapi.a.b.b.initComponent(b.java:12)
at com.intellij.openapi.c.b.a.a(a.java:6)
at com.intellij.openapi.c.b.a.b(a.java:105)
at com.intellij.openapi.c.b.a.getComponent(a.java:181)
at com.intellij.openapi.c.b.a.getComponent(a.java:233)
at com.intellij.openapi.c.b.a.a(a.java:136)
at com.intellij.openapi.c.b.a.j(a.java:130)
at com.intellij.openapi.h.a.c.a(c.java:186)
at com.intellij.idea.e.c(e.java:13)
at com.intellij.idea.Main$2.run(Main$2.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

4 comments
Comment actions Permalink

Vinay Moharil wrote:

I am trying to run Pallada 2097 with JDK 1.5 beta 2. I copied the jre from
the JDK to idea and added the no-check for jdk version in idea.bat.

When I am trying to run idea I am running into the following error:


tools.jar is not in your JRE.

Dmitry


Any help? What am I doing wrong?

Error message: Original exception:
java.lang.NoClassDefFoundError: com/sun/jdi/VMDisconnectedException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:233)
at com.intellij.openapi.l.b.a.b(a.java:321)
at com.intellij.openapi.l.b.a.c(a.java:125)
at com.intellij.openapi.l.b.a.c(a.java:352)
at com.intellij.openapi.l.b.a.a(a.java:270)
at com.intellij.openapi.l.b.a.readExternal(a.java:390)
at com.intellij.openapi.c.b.a.b(a.java:146)
at com.intellij.openapi.c.b.a.a(a.java:78)
at com.intellij.openapi.c.b.a.a(a.java:1)
at com.intellij.openapi.c.b.a.b(a.java:105)
at com.intellij.openapi.c.b.a.getComponent(a.java:181)
at com.intellij.openapi.c.b.a.getComponent(a.java:233)
at

>
com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:19)

at com.intellij.openapi.wm.impl.w.createContentPane(w.java:35) at
javax.swing.JRootPane.<init>(JRootPane.java:313) at
com.intellij.openapi.wm.impl.w.<init>(w.java:19) at
com.intellij.openapi.wm.impl.q.createRootPane(q.java:31) at
javax.swing.JFrame.frameInit(JFrame.java:228) at
javax.swing.JFrame.<init>(JFrame.java:195) at
com.intellij.openapi.wm.impl.q.<init>(q.java:4) at

>
com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:79)

at com.intellij.openapi.c.b.a.a(a.java:6) at
com.intellij.openapi.c.b.a.b(a.java:105) at
com.intellij.openapi.c.b.a.getComponent(a.java:181) at
com.intellij.openapi.c.b.a.getComponent(a.java:233) at
com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:14)
at com.intellij.openapi.wm.impl.c.<init>(c.java:516) at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at

>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at

>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:415) at
com.intellij.openapi.o.b.d.e(d.java:171) at
com.intellij.openapi.c.b.a.a(a.java:109) at
com.intellij.openapi.c.b.a.l(a.java:230) at
com.intellij.openapi.c.b.a.j(a.java:80) at
com.intellij.openapi.o.b.c.s(c.java:104) at
com.intellij.openapi.o.b.d.s(d.java:93) at
com.intellij.openapi.o.b.b.a(b.java:105) at
com.intellij.openapi.a.b.b.initComponent(b.java:12) at
com.intellij.openapi.c.b.a.a(a.java:6) at
com.intellij.openapi.c.b.a.b(a.java:105) at
com.intellij.openapi.c.b.a.getComponent(a.java:181) at
com.intellij.openapi.c.b.a.getComponent(a.java:233) at
com.intellij.openapi.c.b.a.a(a.java:136) at
com.intellij.openapi.c.b.a.j(a.java:130) at
com.intellij.openapi.h.a.c.a(c.java:186) at
com.intellij.idea.e.c(e.java:13) at
com.intellij.idea.Main$2.run(Main$2.java:2) at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201) at
java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at

>
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)

at

>
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

How to set "no-check for jdk version"?

-- likeapear


"Vinay Moharil" <vmohar98@yahoo.com> pí¹e v diskusním pøíspìvku news:16253215.1087372434960.JavaMail.itn@is.intellij.net...

I am trying to run Pallada 2097 with JDK 1.5 beta 2. I copied the jre from the JDK to idea and added the no-check for jdk version in idea.bat.


0
Comment actions Permalink

I (almost) run latest Idea with 1.5b2 but
when I try to open any editor i get the exception below:
Is it something that can be fixed or should I give myself a breake ?

regards
K.


java.lang.NullPointerException
at com.intellij.openapi.editor.c.o.D(o.java:323)
at com.intellij.openapi.editor.c.o.C(o.java:616)
at com.intellij.openapi.editor.c.ba.getPreferredSize(ba.java:33)
at javax.swing.JViewport.getViewSize(JViewport.java:988)
at
javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport(BasicScrollPaneUI.java:264)
at
javax.swing.plaf.basic.BasicScrollPaneUI$Handler.viewportStateChanged(BasicScrollPaneUI.java:855)
at
javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:797)
at javax.swing.JViewport.fireStateChanged(JViewport.java:1342)
at javax.swing.JViewport.setView(JViewport.java:965)
at javax.swing.JScrollPane.setViewportView(JScrollPane.java:993)
at com.intellij.openapi.editor.c.o.s(o.java:802)
at com.intellij.openapi.editor.c.o.(o.java:1271) at com.intellij.openapi.editor.c.d.a(d.java) at com.intellij.openapi.editor.c.d.createEditor(d.java:20) at com.intellij.openapi.j.b.a.a.g(a.java:61) at com.intellij.openapi.j.b.a.a.(a.java:63) at com.intellij.openapi.j.b.a.b.]]>(b.java:22)
at com.intellij.openapi.j.b.a.c.createEditor(c.java:5)
at com.intellij.openapi.j.b.d.b(d.java:544)
at com.intellij.openapi.j.b.d.access$900(d.java:256)
at com.intellij.openapi.j.b.d$6.run(d$6.java:2)
at com.intellij.openapi.command.a.a.executeCommand(a.java:119)
at com.intellij.openapi.j.b.d.a(d.java:385)
at com.intellij.openapi.j.b.d.access$1500(d.java:199)
at com.intellij.openapi.j.b.d$10.run(d$10.java:11)
at com.intellij.openapi.command.a.a.executeCommand(a.java:88)
at com.intellij.openapi.j.b.d$9.run(d$9.java:2)
at com.intellij.openapi.wm.impl.b.c.run(c.java:1)
at com.intellij.openapi.b.b.d$b_.run(d$b_.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.t.b(t.java:28)
at com.intellij.ide.t.a(t.java:3)
at com.intellij.ide.t.dispatchEvent(t.java:46)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

add following to the JVM_ARGS in idea.bat

-Didea.no.jdk.check=true

0

Please sign in to leave a comment.