Get current date. Note that a time zone is crucial here, as for any given moment the date varies around the globe by zone.
ZoneId z = ZoneId.of( "Asia/Tokyo" ) ;
ZonedDateTime now = ZonedDateTime.now( z ) ;
LocalDate today = now.toLocalDate() ;
Get the first moment of tomorrow. Do not assume the day starts at 00:00. Some dates in some zones start at another time. Let java.time determine the first moment.
ZonedDateTime startOfTomorrow = today.plusDays( 1 ).atStartOfDay( z ) ;
Calculate elapsed time.
Duration d = Duration.between( now , startOfTomorrow ) ;
Interrogate the duration for your desired number of whole seconds until tomorrow.
long secondsUntilTomorrow = d.toSeconds() ;