• Register
1 vote

Problem :

Trying to install Java but getting bellow error
"unable to install java there are errors in the following switches"
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

1 vote

Solution :

Try to open it via cmd by following:

Press Win + "R" and type in "cmd" 

Press Enter

Then please type in the bellow:

java -jar C:\Users\MyName\Desktop\The file name for The Game(2).jar
And follow the installation instruction.
It resolved my problem.
9 7 4
38,600 points
It says that it is unable to access the file

Related questions

0 votes
1 answer 47 views
Problem error:in the following switches
asked Feb 7 ahmedadel9090 2.6k points
0 votes
1 answer 23 views
Please explain the following about "Cannot find symbol", "Cannot resolve symbol" or "Symbol not found" errors in JAVA?
asked Sep 28, 2020 Xaimax 9.5k points
0 votes
1 answer 2 views
Problem: Java installation not completed, unable to install Java , errors in the following switches c/progfiles/android/android studio/bin/studio64.exe.vmoptions check Unable to install Java; there are errors in the following switches. I have easily installed forge on two of my other PCs with no problem Anyone can help me to explain it?
asked 6 days ago Ali 5.1k points
0 votes
1 answer 9 views
Problem: In Eclipse, I got this error: run: [java] Error creating the server socket. [java] Oct 04, 2012 5:31:38 PM cascadas.ace.AceFactory bootstrap [java] SEVERE: Failed to create world : java.net.BindException: Address already in use: JVM_Bind [java] Java Result: -1 BUILD ... a few hours ago. Do I need to restart my machine? How do i get to the bottom of it? I appreciate any tips or advice.
asked Feb 19 Ali 5.1k points
0 votes
1 answer 45 views
Problem I am getting an error that is undefined reference to a constructor. Program.cc #include "words.h" #include <string>   using namespace std;   int main(int argc, char* argv[]){   string file = "words.txt";   Words w1(file);     return 0; } Word ... then print it out. I know there is something missing in this code.so please provide me the correct solution of this will be appreciative for me
asked Dec 22, 2020 chris jordan 2.4k points
0 votes
1 answer 10 views
problem;I keep getting the error: reached end of file while parsing. I can't figure out what is wrong.
asked Feb 7 kaash_kashi 1.2k points
0 votes
1 answer 42 views
Has anyone got a fix they could recommend?
asked Jan 3 TeamScript 13.5k points
0 votes
1 answer 5 views
Problem Hey, I just want to know what are nested classes?
asked Dec 19, 2020 chris jordan 2.4k points
0 votes
2 answers 49 views
Problem: Normalization means that there are no data entry errors in a database? True False
asked Apr 12, 2020 ArifulIslam 7.5k points
0 votes
1 answer 165 views
Problem : I am trying to print every string in Reverse Double Character way (e.g. string -> ggnniirrttss) import java.util.Scanner; public class ReverseDoubleCharecters { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter ... I get as follows: ss tt rr ii nn gg All double characters are printed on new lines. Anybody has the solution on this?
asked Nov 22, 2019 peterlaw 6.9k points