(solved)Tutorial 6 Hello Materials problem


I am just start with jme3 and i am stuck on tutorial 6 Hello Material, i have some knowledge in java programing (student). When i start application i get a error its say:

java.exe - Application Error

The instruction at “0x05798f8c” referenced memory at “0x0587bf18”. The memory could not be “read”.

Click on OK to terminate the program

Can i do something about that?

My english is not so good, sorry :slight_smile:


Does your graphics card support OpenGL2? Update the graphics card drivers if it does.


I have nVidia GeForce 9400GT, updated drivers.

Yes, support oppenGL 2.1

I check now…

I solved problem.

Just change code:

mat_stl.setTexture(“ColorMap”, tex_ml);


mat_stl.setTexture(“m_ColorMap”, tex_ml);

and so on where have in code .setTexture just add “m_” and everything work fine.

And i want you to make a loot of good games :slight_smile:


wait …what?

the m_ is not required, “ColorMap” is the way to go.

You mean you had a memory error without the m_ ?

Yes, i had a memory error without the m_

Strange :smiley: