This site requires JavaScript, please enable it in your browser!
Greenfoot back
Olexandra
Olexandra wrote ...

2021/5/31

Error in site version but works on local computer

Olexandra Olexandra

2021/5/31

#
My program works fine when on local machine, but when it's uploaded I see IllegalArgumentException. I wonder if Russian or Ukrainian letters could be the reason. How to see full message description on site? Here is my scenario: https://www.greenfoot.org/scenarios/27113
danpost danpost

2021/5/31

#
Olexandra wrote...
My program works fine when on local machine, but when it's uploaded I see IllegalArgumentException. I wonder if Russian or Ukrainian letters could be the reason. How to see full message description on site? Here is my scenario: https://www.greenfoot.org/scenarios/27113
Remove all instances of //images//.
Olexandra Olexandra

2021/6/1

#
Is it possible to use my own images? Maybe put them in a certain folder?
danpost danpost

2021/6/1

#
Olexandra wrote...
Is it possible to use my own images? Maybe put them in a certain folder?
Sure. Copy them into the "images" folder inside your scenario folder. Just don't use "\\images\\" in your code to access them.
Olexandra Olexandra

2021/6/2

#
Thanks a lot!
You need to login to post a reply.