2018 would not start: java.lang.NoClassDefFoundError: com/intellij/openapi/diagnostic/Logger$Factory

I unzipped it on top of 2013 and it breaks on startup (almost instantly)

java.lang.NoClassDefFoundError:
com/intellij/openapi/diagnostic/Logger$Factory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)


0
6 comments
Avatar
Permanently deleted user

Adding openapi.jar to idea.lax path fixed the problem

"Alex Roytman" <nospam@hello.world> wrote in message
news:c8gogk$2eu$1@is.intellij.net...

I unzipped it on top of 2013 and it breaks on startup (almost instantly)

>

java.lang.NoClassDefFoundError:
com/intellij/openapi/diagnostic/Logger$Factory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)

>
>


0
Avatar
Permanently deleted user

If you're using the lax launcher, the idea.lax file is missing the openapi.jar in the class path. Just add it to the class path mentioning the idea.jar

0
Avatar
Permanently deleted user

There's a tiny, but important change in the idea.bat file: The file from #2018
includes openapi.jar into the startup classpath. I also just unzipped over my #2013
installation but kept my old startup file and got the same error. Updating the .bat
file solved the problem for me.

From idea.bat:
SET CLASS_PATH=%IDEA_HOME%\lib\idea.jar
; This is the new line:
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\openapi.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\jdom.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\log4j.jar

Hope this helps,

Sascha

Alex Roytman wrote:

I unzipped it on top of 2013 and it breaks on startup (almost instantly)

>

java.lang.NoClassDefFoundError:
com/intellij/openapi/diagnostic/Logger$Factory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)

>
>


0
Avatar
Permanently deleted user

well spotted!

N.

Sascha Weinreuter wrote:

There's a tiny, but important change in the idea.bat file: The file from #2018
includes openapi.jar into the startup classpath. I also just unzipped over my #2013
installation but kept my old startup file and got the same error. Updating the .bat
file solved the problem for me.

From idea.bat:
SET CLASS_PATH=%IDEA_HOME%\lib\idea.jar
; This is the new line:
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\openapi.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\jdom.jar
SET CLASS_PATH=%CLASS_PATH%;%IDEA_HOME%\lib\log4j.jar

Hope this helps,

Sascha

Alex Roytman wrote:

>>I unzipped it on top of 2013 and it breaks on startup (almost instantly)
>>
>>java.lang.NoClassDefFoundError:
>>com/intellij/openapi/diagnostic/Logger$Factory
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:141)
>> at com.zerog.lax.LAX.launch(DashoA8113)
>> at com.zerog.lax.LAX.main(DashoA8113)
>>
>>


0
Avatar
Permanently deleted user

You've got to be mad just unzipping on top of an old build! That is
likely to cause all manner of problems...

Alex Roytman wrote:

I unzipped it on top of 2013 and it breaks on startup (almost instantly)

java.lang.NoClassDefFoundError:
com/intellij/openapi/diagnostic/Logger$Factory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)

0
Avatar
Permanently deleted user

no it works fine most of the time (I've been on EAP since 2.0).
It is too much troubles to install it fresh every time.
I do it occasionally to get clean baseline but not always

"Nick Atkins" <nicka@slippytoad.com> wrote in message
news:c8h278$soa$1@is.intellij.net...

You've got to be mad just unzipping on top of an old build! That is
likely to cause all manner of problems...

>

Alex Roytman wrote:

I unzipped it on top of 2013 and it breaks on startup (almost instantly)

>

java.lang.NoClassDefFoundError:
com/intellij/openapi/diagnostic/Logger$Factory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)

>
>



0

Please sign in to leave a comment.