nus-cs2103-AY1718S2 / forum

0 stars 1 forks source link

runtests.bat outputs empty actual.txt #9

Closed KevinChuangCH closed 6 years ago

KevinChuangCH commented 6 years ago

After following the guide on setting up Address Book Level 2, running the runtests.bat still results in an empty actual.txt being created. This is the message on PowerShell. untitled

Running all the test again after changing the config according to step 11 of the guide : 1

Running all the test again, but by "right-click the test folder, and click Run 'All Tests' ". 2 3

The following are my java version and the system setting screen shots: 5 4

KevinChuangCH commented 6 years ago

The problem is solved by changing the java version from 9 to 1.8.0. Apparently, the version change takes a while to register, for my computer at least.

takuyakanbr commented 6 years ago

Changes to environment variables won't be reflected in existing cmd / powershell instances. You'll need to restart them to use the updated environment variables.