Changing port number on openHAB 2.0

EXTRA_JAVA_OPTS=""

should not be necessary. I just tested setting OPENHAB_HTTP_PORT and OPENHAB_HTTPS_PORT as environment variables on a normal installation (not APT!) and all works as expected.

I therefore assume that the problem is with the apt installation only. @Benjy did you test this yourself already?