I use a shortcut to execute the jar files that require more memory. I put the command line in the Target: field. I copied the value of one shortcut's Target field into post#14.
There may be...
Type: Posts; User: Norm
I use a shortcut to execute the jar files that require more memory. I put the command line in the Target: field. I copied the value of one shortcut's Target field into post#14.
There may be...
80M is not very much
try a larger value: 1024M
I do not know how to set any options for the java command in the IDE.
For testing, use the command prompt window like back in post#5.
Put the -X option immediately after the java command. For...
11MB and 16MB would not be a problem. Why is the jarfile so large?
The doc for the java command: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html
see the -X... options...
What is the total size in bytes of the files your code is trying to load? Does the JVM have enough space to hold it all?
What is the contents of the filePath variable?
If this is it: /Art/Sprites/Effects/CartoonExplosion.gif
Then does the jar file have that file on that path?
You can view a jar file's contents...
What does the code at line 330 do? What argument is it passing to the ImageIO.read() method?
The location of files is different when running from Eclipse. The code is probably looking outside...
You need to change directory to be in the folder where the Platformer.jar file is located so the java command can find it.
Can you open a command prompt window, and enter the command:
java -jar <the jarfile name>.jar
Hopefully any error messages will display in the console window
Copy the contents of the command...