K
K
karpn2021-08-29 08:24:27
Java
karpn, 2021-08-29 08:24:27

How to force Android Studio to start?

Good afternoon!

Help to start AS please.

I have W7 32, I downloaded all the software for this platform.

Installed in this order:
- Android Studio 4.2.1
- JRE 1.8.0
- JDK 1.7.0

After installing the JDK, along with the existing jre1.8.0_301 folder, another jre7 folder appeared.

I can set incompatible versions of curves with each other? Is there something else missing?

Where is the correct way to direct JAVA_HOME?

If I point to the JRE folder, I get the error "Cannot load a JDK class: com.sun.jdi.Field Please ensure you run the IDE on JDK rather than JRE"

If I point to the JDK folder, I get the error "Could not find main class com/intelij/idea/Main"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BorLaze, 2021-08-29
@karpn

- JRE 1.8.0
- JDK 1.7.0

demolish and install only one jdk 1.8.0
any JDK contains a JRE
JAVA_HOME must point to the directory where the JDK is installed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question