hello world - generated code compilation error

Hi everybody,

I'm starting these days to use MPS, and of course as a first thing I tried

to build the Hello World!

I'm following the Jetbrain's tutorial, but I get stuck on this:

- The language code is generated but there is a compilation error in line

6,1

" import jetbrains.mps.core.BaseConcept;"

- here is the description: [BTW what about adding the possibility to copy it

to clipboard? ;-) ]

cannot access jetbrains.mps.BaseConcept

bad class file: C:\.....\MPS\lib\mps.jar (jetbrains/...../BaseConcept.class)

class file has wrong version 49.0, should be 48.0

Please remove or make sure it appears in the correct subdirectory of the

classpath

What I'm using:

JIdea - 5.0.1 #3461

MPS - #220

jsdk - 1.4.2_08

0
2 comments
Avatar
Permanently deleted user

Hello, Patrick,

What I'm using:

JIdea - 5.0.1 #3461

MPS - #220

jsdk - 1.4.2_08

This problem is because you are using JDK 1.4. Message means that you

are trying to use classes compiled for 1.5 (version 49) in 1.4 (version

48). Use JDK5.0 and this problem will dissappear.

0
Avatar
Permanently deleted user

Thanks

"Konstantin Solomatov" <kostik@jetbrains.com> wrote in message

news:dh47a0$83b$1@is.intellij.net...

Hello, Patrick,

>

>

What I'm using:

>

JIdea - 5.0.1 #3461

MPS - #220

jsdk - 1.4.2_08

>

>

>

This problem is because you are using JDK 1.4. Message means that you

are trying to use classes compiled for 1.5 (version 49) in 1.4 (version

48). Use JDK5.0 and this problem will dissappear.

>

>

>

0

Please sign in to leave a comment.