Skip to content
Advertisement

Can’t find Java folder in Program Files

I hate asking this, but I’ve never been able to find my Java folder on my current PC. I’d like to find it so I could use a keystore command to find my SHA and just to know where it is. I found a SHA number through gradlewindow/signing report, but now the api page isn’t accepting it so I wanted to check through a ‘keystore’ command, which you apparently have to call with the command line folder path set somewhere in the Java folder. Here are both my program files. I’ve been successfully developing and publishing my android game for a year on this PC, so I figured I must have a Java folder somewhere. The toolbar search box hasn’t helped (it never does), it just gives me website suggestions through Bing.

enter image description here

enter image description here

Advertisement

Answer

Android Studio and Android do not use a java from Oracle or Sun but use OpenJDK that is an open sourced java instead, so there won’t be a java folder under Program Files if you didn’t installed java for other uses. Android Studio’s java can be found in C:Program FilesAndroidAndroid Studiojre.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement