Which java JDK is compatible with oracle instant client 10g
Java does not use the Instant Client. If you want to connect an Oracle database from Java code, then you need the Oracle JDBC driver, not the Instant Client.

https://www.oracle.com/technetwork/database/application-development/jdbc/downloads/index.html

Example:

https://stackoverflow.com/questions/47966597/how-to-connect-java-with-oracle-8i-database-on-local-network

You will still need to find a place to download such ancient version of these though.