Re: App won't open on PC
Addison Brown <[email protected]> Sat, 5 Feb 2022 18:17:32 -0800 (PST)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1904_1517042130.1644113852113 Content-Type: multipart/alternative; boundary="----=_Part_1905_1044940745.1644113852113" ------=_Part_1905_1044940745.1644113852113 Content-Type: text/plain; charset="UTF-8" Hello, thank you for your response. I am sure that I have the right version of java installed. When I typed in the java home command, it responded with %JAVA_HOME%, not with what yours said. How am I able to check if it is a problem with java home or path, and how do I fix it if it is? I also tried to install robocode using the command prompt and it did not work. On Wednesday, February 2, 2022 at 2:22:36 PM UTC-5 fnl wrote: > You should be able to simply double-click on the > robocode-1.9.x.x-setup.jar file in order to start installing it running on > Java on Windows, if Java is installed correctly. > > You can check if java is installed and see the version by writing this in > a command prompt: > > java -version > > This should provide you with the Java version and vendor etc. > You also need to make sure that the 'java' command is available from the > PATH environment variable. Typically the PATH must include the full > absolute file path to the bin directory of your Java installation > containing various command-line tools for java like e.g. java.exe. > > On my system PATH includes this path: > > ...;C:\Program Files\Eclipse Adoptium\jdk-11.0.13.8-hotspot\bin;... > > And you might also need to ensure that the JAVA_HOME path is set to the > root path of the Java installation. You can check JAVA_HOME from the > command prompt by writing this command: > > echo %JAVA_HOME% > > E.g. on my system, it writes: > C:\Program Files\Eclipse Adoptium\jdk-11.0.13.8-hotspot > > If Robocode won't start by double-clicking on the jar archive, you can > install it from the command prompt like this: > > java -jar robocode-1.9.4.4-setup.jar > > onsdag den 2. februar 2022 kl. 18.56.37 UTC+1 skrev [email protected]: > >> I have downloaded robocode, but when I try to open it, it says that I >> can't open this app on my PC. I am using Windows 10 on a Lenovo, and have >> Java downloaded. Any ideas on how to fix this issue? > > -- You received this message because you are subscribed to the Google Groups "Robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/robocode/be21e85a-5659-4aec-8e63-db361a6a2dedn%40googlegroups.com. ------=_Part_1905_1044940745.1644113852113 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <br>Hello, thank you for your response. I am sure that I have the right ver= sion of java installed. When I typed in the java home command, it responded= with %JAVA_HOME%, not with what yours said. How am I able to check if it i= s a problem with java home or path, and how do I fix it if it is? I also tr= ied to install robocode using the command prompt and it did not work. = <div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_attr">On Wednes= day, February 2, 2022 at 2:22:36 PM UTC-5 fnl wrote:<br/></div><blockquote = class=3D"gmail_quote" style=3D"margin: 0 0 0 0.8ex; border-left: 1px solid = rgb(204, 204, 204); padding-left: 1ex;">You should be able to simply double= -click on the robocode-1.9.x.x-setup.jar file in order to start installing = it running on Java on Windows, if Java is installed correctly.<div><br></di= v><div>You can check if java is installed and see the version by writing th= is in a command prompt:</div><div><br></div><div>java -version</div><div><b= r></div><div>This should provide you with the Java version and vendor etc.<= /div><div>You also need to make sure that the 'java' command is ava= ilable from the PATH environment variable. Typically the PATH must include = the full absolute file path to the bin directory of your Java installation = containing various command-line tools for java like e.g. java.exe.</div><di= v><br></div><div>On my system PATH includes this path:<br><br>...;C:\Progra= m Files\Eclipse Adoptium\jdk-11.0.13.8-hotspot\bin;...</div><div><br></div>= <div>And you might also need to ensure that the JAVA_HOME path is set to th= e root path of the Java installation. You can check JAVA_HOME from the comm= and prompt by writing this command:</div><div><br></div><div>echo %JAVA_HOM= E%<br></div><div><br></div><div>E.g. on my system, it writes:</div><div>C:\= Program Files\Eclipse Adoptium\jdk-11.0.13.8-hotspot<br></div><div><br></di= v><div>If Robocode won't start by double-clicking on the jar archive, y= ou can install it from the command prompt like this:</div><div><br></div><d= iv>java -jar robocode-1.9.4.4-setup.jar</div><div><br></div><div class=3D"g= mail_quote"><div dir=3D"auto" class=3D"gmail_attr">onsdag den 2. februar 20= 22 kl. 18.56.37 UTC+1 skrev <a href data-email-masked rel=3D"nofollow">brow= [email protected]</a>:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I hav= e downloaded robocode, but when I try to open it, it says that I can't = open this app on my PC. I am using Windows 10 on a Lenovo, and have Java do= wnloaded. Any ideas on how to fix this issue?</blockquote></div></blockquot= e></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Robocode" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">robocode+u= [email protected]</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/robocode/be21e85a-5659-4aec-8e63-db361a6a2dedn%40googlegroups.co= m?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid= /robocode/be21e85a-5659-4aec-8e63-db361a6a2dedn%40googlegroups.com</a>.<br = /> ------=_Part_1905_1044940745.1644113852113-- ------=_Part_1904_1517042130.1644113852113--