#java testing

6 messages · Page 1 of 1 (latest)

hardy compass
#

Hi all, I'm doing the Java locally and for some reason its not allowing me to test my updated code to see if it has passed the test's. I can download the files but cannot test my code

grand coral
#

did you do what the test say @Disabled("Remove to run test") ?
for local testing that step is needed

hardy compass
#

there are not in the code, i deleted the folder and re downloaded the file again to see if the code was any different and could not see @Disabled("Remove to run test")

hardy compass
#

it just states:
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-25\bin\

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

inland finch
#

I think JAVA_HOME should point one directory up (i.e. C:\Program Files\Java\jdk-25\), not the bin folder (I assume you've installed Java there).

hardy compass
#

yeah, thanks for that i have changed it and up to press looks like it might be working thx again 🙂