Intellij on Solaris

I remember that there used to be a way to make intellij work with
whatever jre you had installed. My Solaris jre claims to be
1.4.2_02-b03 and IntelliJ complains about it on startup.

Can anyone tell me the approperiate incantation to make this combination
work?

Guy

11 comments

I use IntelliJ on a Solaris 9 box and keep any number of JDK versions installed. I can't help you with your question but if you wanted to build an IntelliJ JRE out of the specific JDK required you can find all of the archived version downloads here.

http://java.sun.com/products/archive/index.html

Matthew

0

:( I even tried to run it with an older jre (j2sdk1.4.1_06) but still
get the misconfigured jre error message.

What JRE version are you using, since my net link from work is slow and
at an hour a download it would be much nicer to just download the
correct version.

Matthew Montgomery wrote:

I use IntelliJ on a Solaris 9 box and keep any number of JDK versions installed. I can't help you with your question but if you wanted to build an IntelliJ JRE out of the specific JDK required you can find all of the archived version downloads here.

http://java.sun.com/products/archive/index.html

Matthew

0

You can use the latest one but we don't officially support such
configurations. To remove JDK check you need to add
-Didea.no.jdk.check=true option to idea startup command line (idea.sh or
idea.lax file).

IK

Guy Gascoigne-Piggford wrote:

:( I even tried to run it with an older jre (j2sdk1.4.1_06) but still
get the misconfigured jre error message.

What JRE version are you using, since my net link from work is slow and
at an hour a download it would be much nicer to just download the
correct version.

Matthew Montgomery wrote:

>> I use IntelliJ on a Solaris 9 box and keep any number of JDK versions
>> installed. I can't help you with your question but if you wanted to
>> build an IntelliJ JRE out of the specific JDK required you can find
>> all of the archived version downloads here.
>>
>> http://java.sun.com/products/archive/index.html
>>
>> Matthew


--
Igor Kuralenok
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Marvelous, that does indeed allow idea to start. However as soon as I
start it I get a ton of errors and can't actually get into the program,
they all seem to be something like this:

2003-12-02 10:27:25,387 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
2003-12-02 10:27:25,388 ERROR -
ij.components.ComponentManager - JDK: 1.4.1_06
2003-12-02 10:27:25,389 ERROR -
ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
2003-12-02 10:27:25,390 ERROR -
ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
2003-12-02 10:27:25,390 ERROR -
ij.components.ComponentManager - OS: SunOS
2003-12-02 10:27:25,391 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
at com.intellij.openapi.components.b.a.getComponent(a.java:106)
at
com.intellij.openapi.application.ApplicationInfo.getInstance(ApplicationInfo.java:1)
at com.intellij.openapi.wm.impl.s.(s.java:34) at com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131) at com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42) at com.intellij.openapi.components.b.a.a(a.java:36) at com.intellij.openapi.components.b.a.getComponent(a.java:76) at com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1) at com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:249) at com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:84) at com.intellij.diagnostic.h.]]>(h.java:77)
at com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
2003-12-02 10:27:25,442 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
2003-12-02 10:27:25,448 ERROR -
ij.components.ComponentManager - JDK: 1.4.1_06
2003-12-02 10:27:25,449 ERROR -
ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
2003-12-02 10:27:25,449 ERROR -
ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
2003-12-02 10:27:25,450 ERROR -
ij.components.ComponentManager - OS: SunOS
2003-12-02 10:27:25,450 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
at com.intellij.openapi.components.b.a.getComponent(a.java:106)
at
com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:2)
at com.intellij.openapi.wm.impl.y.createContentPane(y.java:1)
at javax.swing.JRootPane.(JRootPane.java:310) at com.intellij.openapi.wm.impl.y.(y.java:25) at com.intellij.openapi.wm.impl.s.createRootPane(s.java:29) at javax.swing.JFrame.frameInit(JFrame.java:232) at javax.swing.JFrame.(JFrame.java:199) at com.intellij.openapi.wm.impl.s.(s.java:34) at com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131) at com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42) at com.intellij.openapi.components.b.a.a(a.java:36) at com.intellij.openapi.components.b.a.getComponent(a.java:76) at com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1) at com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:249) at com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:84) at com.intellij.diagnostic.h.]]>(h.java:77)
at com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
2003-12-02 10:27:25,973 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
2003-12-02 10:27:25,974 ERROR -
ij.components.ComponentManager - JDK: 1.4.1_06
2003-12-02 10:27:25,974 ERROR -
ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
2003-12-02 10:27:25,975 ERROR -
ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
2003-12-02 10:27:25,978 ERROR -
ij.components.ComponentManager - OS: SunOS
2003-12-02 10:27:25,978 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
at com.intellij.openapi.components.b.a.getComponent(a.java:106)
at com.intellij.openapi.a.e.b(e.java)
at com.intellij.openapi.actionSystem.b.a.a(a.java:6)
at com.intellij.openapi.actionSystem.b.a.b(a.java:189)
at com.intellij.openapi.actionSystem.b.a.c(a.java:284)
at com.intellij.openapi.actionSystem.b.a.a(a.java:389)
at com.intellij.openapi.actionSystem.b.a.readExternal(a.java:161)
at com.intellij.openapi.components.b.a.a(a.java:2)
at com.intellij.openapi.components.b.a.a(a.java:156)
at com.intellij.openapi.components.b.a.getComponent(a.java:76)
at
com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:2)
at com.intellij.openapi.wm.impl.y.createContentPane(y.java:1)
at javax.swing.JRootPane.(JRootPane.java:310) at com.intellij.openapi.wm.impl.y.(y.java:25) at com.intellij.openapi.wm.impl.s.createRootPane(s.java:29) at javax.swing.JFrame.frameInit(JFrame.java:232) at javax.swing.JFrame.(JFrame.java:199) at com.intellij.openapi.wm.impl.s.(s.java:34) at com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131) at com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42) at com.intellij.openapi.components.b.a.a(a.java:36) at com.intellij.openapi.components.b.a.getComponent(a.java:76) at com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1) at com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:249) at com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:84) at com.intellij.diagnostic.h.]]>(h.java:77)
at com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)




Igor Kuralenok (JetBrains) wrote:

You can use the latest one but we don't officially support such
configurations. To remove JDK check you need to add
-Didea.no.jdk.check=true option to idea startup command line (idea.sh or
idea.lax file).

IK

Guy Gascoigne-Piggford wrote:

>> :( I even tried to run it with an older jre (j2sdk1.4.1_06) but still
>> get the misconfigured jre error message.
>>
>> What JRE version are you using, since my net link from work is slow
>> and at an hour a download it would be much nicer to just download the
>> correct version.
>>
>> Matthew Montgomery wrote:
>>
>>> I use IntelliJ on a Solaris 9 box and keep any number of JDK versions
>>> installed. I can't help you with your question but if you wanted to
>>> build an IntelliJ JRE out of the specific JDK required you can find
>>> all of the archived version downloads here.
>>>
>>> http://java.sun.com/products/archive/index.html
>>>
>>> Matthew


0

If you run with a jre other than the one idea ships with then you are out of luck if get errors. Why don't you just download the unix pack that comes with a jre?

0

Because there isn't one. :( Only Windows, Linux and Mac have bundled
jres. Solaris is a stumble in the dark.

Guy

charles decroes wrote:

If you run with a jre other than the one idea ships with then you are out of luck if get errors. Why don't you just download the unix pack that comes with a jre?

0

ahh, sorry I should have looked before I typed

0

You mentioned that your Solaris JDK claims to be 1.4.2_02, but in these
error messages I'm seeing 1.4.1_06 all over the place, are you sure you
aren't inadvertantly running with an older JDK That is installed some
where? What does

which java
and
java -version

give you? I'm wondering where IntelliJ is finding that other version...
can you cp -R the /jre directory out of the installed JDK into your
intelliJ install dir and see if it makes it happier?

Guy Gascoigne-Piggford wrote:

Marvelous, that does indeed allow idea to start. However as soon as I
start it I get a ton of errors and can't actually get into the program,
they all seem to be something like this:

2003-12-02 10:27:25,387 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
2003-12-02 10:27:25,388 ERROR -
ij.components.ComponentManager - JDK: 1.4.1_06
2003-12-02 10:27:25,389 ERROR -
ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
2003-12-02 10:27:25,390 ERROR -
ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
2003-12-02 10:27:25,390 ERROR -
ij.components.ComponentManager - OS: SunOS
2003-12-02 10:27:25,391 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
at com.intellij.openapi.components.b.a.getComponent(a.java:106)
at
com.intellij.openapi.application.ApplicationInfo.getInstance(ApplicationInfo.java:1)

at com.intellij.openapi.wm.impl.s.<init>(s.java:34)
at
com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131)

at
com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42)

at com.intellij.openapi.components.b.a.a(a.java:36)
at com.intellij.openapi.components.b.a.getComponent(a.java:76)
at
com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1)
at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:249)
at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:84)
at com.intellij.diagnostic.h.<init>(h.java:77)
at
com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
2003-12-02 10:27:25,442 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
2003-12-02 10:27:25,448 ERROR -
ij.components.ComponentManager - JDK: 1.4.1_06
2003-12-02 10:27:25,449 ERROR -
ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
2003-12-02 10:27:25,449 ERROR -
ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
2003-12-02 10:27:25,450 ERROR -
ij.components.ComponentManager - OS: SunOS
2003-12-02 10:27:25,450 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
at com.intellij.openapi.components.b.a.getComponent(a.java:106)
at
com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:2)

at com.intellij.openapi.wm.impl.y.createContentPane(y.java:1)
at javax.swing.JRootPane.<init>(JRootPane.java:310)
at com.intellij.openapi.wm.impl.y.<init>(y.java:25)
at com.intellij.openapi.wm.impl.s.createRootPane(s.java:29)
at javax.swing.JFrame.frameInit(JFrame.java:232)
at javax.swing.JFrame.<init>(JFrame.java:199)
at com.intellij.openapi.wm.impl.s.<init>(s.java:34)
at
com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131)

at
com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42)

at com.intellij.openapi.components.b.a.a(a.java:36)
at com.intellij.openapi.components.b.a.getComponent(a.java:76)
at
com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1)
at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:249)
at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:84)
at com.intellij.diagnostic.h.<init>(h.java:77)
at
com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
2003-12-02 10:27:25,973 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
2003-12-02 10:27:25,974 ERROR -
ij.components.ComponentManager - JDK: 1.4.1_06
2003-12-02 10:27:25,974 ERROR -
ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
2003-12-02 10:27:25,975 ERROR -
ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
2003-12-02 10:27:25,978 ERROR -
ij.components.ComponentManager - OS: SunOS
2003-12-02 10:27:25,978 ERROR -
ij.components.ComponentManager - Component requests are not allowed
before they are created
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
at com.intellij.openapi.components.b.a.getComponent(a.java:106)
at com.intellij.openapi.a.e.b(e.java)
at com.intellij.openapi.actionSystem.b.a.a(a.java:6)
at com.intellij.openapi.actionSystem.b.a.b(a.java:189)
at com.intellij.openapi.actionSystem.b.a.c(a.java:284)
at com.intellij.openapi.actionSystem.b.a.a(a.java:389)
at com.intellij.openapi.actionSystem.b.a.readExternal(a.java:161)
at com.intellij.openapi.components.b.a.a(a.java:2)
at com.intellij.openapi.components.b.a.a(a.java:156)
at com.intellij.openapi.components.b.a.getComponent(a.java:76)
at
com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:2)

at com.intellij.openapi.wm.impl.y.createContentPane(y.java:1)
at javax.swing.JRootPane.<init>(JRootPane.java:310)
at com.intellij.openapi.wm.impl.y.<init>(y.java:25)
at com.intellij.openapi.wm.impl.s.createRootPane(s.java:29)
at javax.swing.JFrame.frameInit(JFrame.java:232)
at javax.swing.JFrame.<init>(JFrame.java:199)
at com.intellij.openapi.wm.impl.s.<init>(s.java:34)
at
com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131)

at
com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42)

at com.intellij.openapi.components.b.a.a(a.java:36)
at com.intellij.openapi.components.b.a.getComponent(a.java:76)
at
com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1)
at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:249)
at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:84)
at com.intellij.diagnostic.h.<init>(h.java:77)
at
com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)




Igor Kuralenok (JetBrains) wrote:

>> You can use the latest one but we don't officially support such
>> configurations. To remove JDK check you need to add
>> -Didea.no.jdk.check=true option to idea startup command line (idea.sh
>> or idea.lax file).
>>
>> IK
>>
>> Guy Gascoigne-Piggford wrote:
>>
>>> :( I even tried to run it with an older jre (j2sdk1.4.1_06) but
>>> still get the misconfigured jre error message.
>>>
>>> What JRE version are you using, since my net link from work is slow
>>> and at an hour a download it would be much nicer to just download the
>>> correct version.
>>>
>>> Matthew Montgomery wrote:
>>>
>>>> I use IntelliJ on a Solaris 9 box and keep any number of JDK
>>>> versions installed. I can't help you with your question but if you
>>>> wanted to build an IntelliJ JRE out of the specific JDK required you
>>>> can find all of the archived version downloads here.
>>>>
>>>> http://java.sun.com/products/archive/index.html
>>>>
>>>> Matthew
>>
>>
>>
>>

0

I've tried both versions. It was finding the correct version then, but
unfortunately the errors are the same regardless of the jdk version.

Guy

Riyad Kalla wrote:

You mentioned that your Solaris JDK claims to be 1.4.2_02, but in these
error messages I'm seeing 1.4.1_06 all over the place, are you sure you
aren't inadvertantly running with an older JDK That is installed some
where? What does

which java
and
java -version

give you? I'm wondering where IntelliJ is finding that other version...
can you cp -R the /jre directory out of the installed JDK into your
intelliJ install dir and see if it makes it happier?

Guy Gascoigne-Piggford wrote:

>> Marvelous, that does indeed allow idea to start. However as soon as I
>> start it I get a ton of errors and can't actually get into the
>> program, they all seem to be something like this:
>>
>> 2003-12-02 10:27:25,387 ERROR -
>> ij.components.ComponentManager - Component requests are not allowed
>> before they are created
>> 2003-12-02 10:27:25,388 ERROR -
>> ij.components.ComponentManager - JDK: 1.4.1_06
>> 2003-12-02 10:27:25,389 ERROR -
>> ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
>> 2003-12-02 10:27:25,390 ERROR -
>> ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
>> 2003-12-02 10:27:25,390 ERROR -
>> ij.components.ComponentManager - OS: SunOS
>> 2003-12-02 10:27:25,391 ERROR -
>> ij.components.ComponentManager - Component requests are not allowed
>> before they are created
>> java.lang.Throwable
>> at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
>> at com.intellij.openapi.components.b.a.getComponent(a.java:106)
>> at
>> com.intellij.openapi.application.ApplicationInfo.getInstance(ApplicationInfo.java:1)
>>
>> at com.intellij.openapi.wm.impl.s.(s.java:34) >> at >> com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131) >> >> at >> com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42) >> >> at com.intellij.openapi.components.b.a.a(a.java:36) >> at com.intellij.openapi.components.b.a.getComponent(a.java:76) >> at >> com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1) >> at >> com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:249) >> at >> com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:84) >> at com.intellij.diagnostic.h.(h.java:77) >> at >> com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:448) >> at >> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) >> >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) >> >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) >>]]> 2003-12-02 10:27:25,442 ERROR -
>> ij.components.ComponentManager - Component requests are not allowed
>> before they are created
>> 2003-12-02 10:27:25,448 ERROR -
>> ij.components.ComponentManager - JDK: 1.4.1_06
>> 2003-12-02 10:27:25,449 ERROR -
>> ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
>> 2003-12-02 10:27:25,449 ERROR -
>> ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
>> 2003-12-02 10:27:25,450 ERROR -
>> ij.components.ComponentManager - OS: SunOS
>> 2003-12-02 10:27:25,450 ERROR -
>> ij.components.ComponentManager - Component requests are not allowed
>> before they are created
>> java.lang.Throwable
>> at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
>> at com.intellij.openapi.components.b.a.getComponent(a.java:106)
>> at
>> com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:2)
>>
>> at com.intellij.openapi.wm.impl.y.createContentPane(y.java:1)
>> at javax.swing.JRootPane.(JRootPane.java:310) >> at com.intellij.openapi.wm.impl.y.(y.java:25) >> at com.intellij.openapi.wm.impl.s.createRootPane(s.java:29) >> at javax.swing.JFrame.frameInit(JFrame.java:232) >> at javax.swing.JFrame.(JFrame.java:199) >> at com.intellij.openapi.wm.impl.s.(s.java:34) >> at >> com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131) >> >> at >> com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42) >> >> at com.intellij.openapi.components.b.a.a(a.java:36) >> at com.intellij.openapi.components.b.a.getComponent(a.java:76) >> at >> com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1) >> at >> com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:249) >> at >> com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:84) >> at com.intellij.diagnostic.h.(h.java:77) >> at >> com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:448) >> at >> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) >> >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) >> >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) >>]]> 2003-12-02 10:27:25,973 ERROR -
>> ij.components.ComponentManager - Component requests are not allowed
>> before they are created
>> 2003-12-02 10:27:25,974 ERROR -
>> ij.components.ComponentManager - JDK: 1.4.1_06
>> 2003-12-02 10:27:25,974 ERROR -
>> ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
>> 2003-12-02 10:27:25,975 ERROR -
>> ij.components.ComponentManager - Vendor: Sun Microsystems Inc.
>> 2003-12-02 10:27:25,978 ERROR -
>> ij.components.ComponentManager - OS: SunOS
>> 2003-12-02 10:27:25,978 ERROR -
>> ij.components.ComponentManager - Component requests are not allowed
>> before they are created
>> java.lang.Throwable
>> at com.intellij.openapi.diagnostic.Logger.error(Logger.java:31)
>> at com.intellij.openapi.components.b.a.getComponent(a.java:106)
>> at com.intellij.openapi.a.e.b(e.java)
>> at com.intellij.openapi.actionSystem.b.a.a(a.java:6)
>> at com.intellij.openapi.actionSystem.b.a.b(a.java:189)
>> at com.intellij.openapi.actionSystem.b.a.c(a.java:284)
>> at com.intellij.openapi.actionSystem.b.a.a(a.java:389)
>> at com.intellij.openapi.actionSystem.b.a.readExternal(a.java:161)
>> at com.intellij.openapi.components.b.a.a(a.java:2)
>> at com.intellij.openapi.components.b.a.a(a.java:156)
>> at com.intellij.openapi.components.b.a.getComponent(a.java:76)
>> at
>> com.intellij.openapi.actionSystem.ActionManager.getInstance(ActionManager.java:2)
>>
>> at com.intellij.openapi.wm.impl.y.createContentPane(y.java:1)
>> at javax.swing.JRootPane.(JRootPane.java:310) >> at com.intellij.openapi.wm.impl.y.(y.java:25) >> at com.intellij.openapi.wm.impl.s.createRootPane(s.java:29) >> at javax.swing.JFrame.frameInit(JFrame.java:232) >> at javax.swing.JFrame.(JFrame.java:199) >> at com.intellij.openapi.wm.impl.s.(s.java:34) >> at >> com.intellij.openapi.wm.impl.WindowManagerImpl.g(WindowManagerImpl.java:131) >> >> at >> com.intellij.openapi.wm.impl.WindowManagerImpl.initComponent(WindowManagerImpl.java:42) >> >> at com.intellij.openapi.components.b.a.a(a.java:36) >> at com.intellij.openapi.components.b.a.getComponent(a.java:76) >> at >> com.intellij.openapi.wm.WindowManager.getInstance(WindowManager.java:1) >> at >> com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:249) >> at >> com.intellij.openapi.ui.DialogWrapper.(DialogWrapper.java:84) >> at com.intellij.diagnostic.h.(h.java:77) >> at >> com.intellij.diagnostic.DialogAppender$3.run(DialogAppender$3.java:0) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:448) >> at >> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) >> >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) >> >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) >> at java.awt.EventDispatchThread.run(EventDispatchThread.java:99) >> >> >> >> >> Igor Kuralenok (JetBrains) wrote: >> >>> You can use the latest one but we don't officially support such >>> configurations. To remove JDK check you need to add >>> -Didea.no.jdk.check=true option to idea startup command line (idea.sh >>> or idea.lax file). >>> >>> IK >>> >>> Guy Gascoigne-Piggford wrote: >>> >>>>]]> :( I even tried to run it with an older jre (j2sdk1.4.1_06) but
>>>> still get the misconfigured jre error message.
>>>>
>>>> What JRE version are you using, since my net link from work is slow
>>>> and at an hour a download it would be much nicer to just download
>>>> the correct version.
>>>>
>>>> Matthew Montgomery wrote:
>>>>
>>>>> I use IntelliJ on a Solaris 9 box and keep any number of JDK
>>>>> versions installed. I can't help you with your question but if you
>>>>> wanted to build an IntelliJ JRE out of the specific JDK required
>>>>> you can find all of the archived version downloads here.
>>>>>
>>>>> http://java.sun.com/products/archive/index.html
>>>>>
>>>>> Matthew
>>>
>>>
>>>
>>>
>>>

0

Remember that you need more than just a "plain" jre to run IDEA. You also need the "tools.jar" from a full-blown jdk, so linking to or copying a jre only is 'gonna give you a ton of errors.
I got Solaris to run by copying the tools.jar from j2sdk1.4.2_02/lib into j2sdk1.4.2_02/jre/lib and linking IDEA_HOME/jre to j2sdk1.4.2_02/jre

Of course, you must also add -Didea.no.jdk.check=true option to idea startup parameters.

Good luck,
Bob

0

That was it, thank you. I'd forgotten about copying the tools.jar over.

Now I've got it working with j2sdk1.4.2_02 using the no check flag.

Guy


Bob Slomcenski wrote:

Remember that you need more than just a "plain" jre to run IDEA. You also need the "tools.jar" from a full-blown jdk, so linking to or copying a jre only is 'gonna give you a ton of errors.
I got Solaris to run by copying the tools.jar from j2sdk1.4.2_02/lib into j2sdk1.4.2_02/jre/lib and linking IDEA_HOME/jre to j2sdk1.4.2_02/jre

Of course, you must also add -Didea.no.jdk.check=true option to idea startup parameters.

Good luck,
Bob

0

Please sign in to leave a comment.