Re: Unable to create jar file

fnl <[email protected]> Sat, 14 May 2022 11:57:41 -0700 (PDT)
Newsgroups gmane.comp.java.robocode
Message-ID <[email protected]>
------=_Part_5166_1800175662.1652554661266
Content-Type: multipart/alternative; 
	boundary="----=_Part_5167_176936696.1652554661266"

------=_Part_5167_176936696.1652554661266
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I need some more information about your system in order to reproduce the=20
issue.
E.g. OS (Windows, Linux, macOS) and Java version.

Did you explicitly compile the robot? Sometimes people forget that the=20
robot needs to be compiled as people are getting used to modern IDEs. =F0=
=9F=99=82
When the bot is compiled, does it show up in the "Available Robots" list=20
when starting a new battle?

Normally a bot that is not in a package yet will show up under one of the=
=20
packages with a * (star) behind it, when it has been compiled succesfully.
If the robot does not show up, this is the real problem. Not the robot=20
packager.

I just tried this out creating and compiling an entire new bot with=20
Robocode 1.9.4.5 under Windows 11 running on Java 17.
Robocode does not work on Java 18 as the Security Manager stuff has been=20
removed in Java 18, which Robocode depends on.

Best regards,
- Flemming

fredag den 13. maj 2022 kl. 14.11.09 UTC+2 skrev Louis Fleming:

> We are not using Java 18
>
> We have tried to use Robot ->> Package but it does not find the robot=20
>
> On Mon, May 9, 2022 at 1:16 PM fnl <[email protected]> wrote:
>
>> Did you use the Robot Packager of Robocode available from the menu: Robo=
t=20
>> -> Package robot or team?
>> This needs to be done to store the properties files for the robot=20
>> containing metadata for the robot.
>>
>> If not, which version of Java did you use. Java 18 does not work for=20
>> Robocode (currently). So this might be an issue.
>>
>> Best regards,
>> - Flemming
>>
>> mandag den 9. maj 2022 kl. 20.11.34 UTC+2 skrev Louis Fleming:
>>
>>> Student created code with Robocode compiler. code compiles and shows no=
=20
>>> errors.
>>>
>>> Code does not show up when we try to package it or import it.=20
>>>
>>> I understand we need the jar file. We just can't get the compiler to=20
>>> create the jar file
>>>
>> --=20
>> You received this message because you are subscribed to a topic in the=
=20
>> Google Groups "Robocode" group.
>> To unsubscribe from this topic, visit=20
>> https://groups.google.com/d/topic/robocode/zlmGWtxVZv0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to=20
>> [email protected].
>> To view this discussion on the web visit=20
>> https://groups.google.com/d/msgid/robocode/f02442c1-b6b8-4b49-9fde-33b69=
2082c36n%40googlegroups.com=20
>> <https://groups.google.com/d/msgid/robocode/f02442c1-b6b8-4b49-9fde-33b6=
92082c36n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>
>> .
>>
>
>
> --=20
> Louis Fleming
> Computer Science, and  Robotics Instructor
> UIL Academic Coordinator /UIL Computer Science Coach /UIL Robotics Sponso=
r
> =20
> FTC 10527,10528,10529,11902
> Andrews High School / Andrews Texas
> UIL Region 1-3A Computer Science Champions 2007
> UIL STATE 3A Computer Science Silver Medalist 2008
> UIL STATE 3A Computer Science Gold Medalist 2013
> UIL Regional Computer Science Qualifiers 1999-2019
>
>
>

--=20
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 e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
robocode/ee9595ea-3b30-4266-9be0-45a4de305da0n%40googlegroups.com.

------=_Part_5167_176936696.1652554661266
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I need some more information about your system in order to reproduce the is=
sue.<div>E.g. OS (Windows, Linux, macOS) and Java version.</div><div><br></=
div><div>Did you explicitly compile the robot? Sometimes people forget that=
 the robot needs to be compiled as people are getting used to modern IDEs. =
=F0=9F=99=82<br></div><div><div>When the bot is compiled, does it show up i=
n the "Available Robots" list when starting a new battle?</div><br></div><d=
iv>Normally a bot that is not in a package yet will show up under one of th=
e packages with a * (star) behind it, when it has been compiled succesfully=
.</div><div>If the robot does not show up, this is the real problem. Not th=
e robot packager.</div><div><br></div><div>I just tried this out creating a=
nd compiling an entire new bot with Robocode 1.9.4.5 under Windows 11 runni=
ng on Java 17.<br>Robocode does not work on Java 18 as the Security Manager=
 stuff has been removed in Java 18, which Robocode depends on.<br><br>Best =
regards,</div><div>- Flemming</div><div><br></div><div class=3D"gmail_quote=
"><div dir=3D"auto" class=3D"gmail_attr">fredag den 13. maj 2022 kl. 14.11.=
09 UTC+2 skrev Louis Fleming:<br/></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); pad=
ding-left: 1ex;"><div dir=3D"ltr">We are not using Java 18<div><br></div><d=
iv>We have tried to use Robot -&gt;&gt; Package but it does not find the ro=
bot=C2=A0</div></div><br><div class=3D"gmail_quote"></div><div class=3D"gma=
il_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, May 9, 2022 at 1:16=
 PM fnl &lt;<a href data-email-masked rel=3D"nofollow">[email protected]=
m</a>&gt; wrote:<br></div></div><div class=3D"gmail_quote"><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex">Did you use the Robot Packager of Robocod=
e available from the menu: Robot -&gt; Package robot or team?<div>This need=
s to be done to store the properties files for the robot containing metadat=
a for the robot.</div><div><br></div><div>If not, which version of Java did=
 you use. Java 18 does not work for Robocode (currently). So this might be =
an issue.</div><div><br></div><div>Best regards,</div><div>- Flemming</div>=
<div><br></div><div class=3D"gmail_quote"><div dir=3D"auto" class=3D"gmail_=
attr">mandag den 9. maj 2022 kl. 20.11.34 UTC+2 skrev Louis Fleming:<br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex">Student created code w=
ith Robocode compiler. code compiles and shows no errors.<div><br></div><di=
v>Code does not show up when we try to package it or import it.=C2=A0</div>=
<div><br></div><div>I understand we need the jar file. We just can&#39;t ge=
t the compiler to create the jar file</div></blockquote></div>

<p></p></blockquote></div><div class=3D"gmail_quote"><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex">

-- <br>
You received this message because you are subscribed to a topic in the Goog=
le Groups &quot;Robocode&quot; group.<br>
To unsubscribe from this topic, visit <a href=3D"https://groups.google.com/=
d/topic/robocode/zlmGWtxVZv0/unsubscribe" target=3D"_blank" rel=3D"nofollow=
" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dda&amp;q=3Dhttps:=
//groups.google.com/d/topic/robocode/zlmGWtxVZv0/unsubscribe&amp;source=3Dg=
mail&amp;ust=3D1652640386452000&amp;usg=3DAOvVaw3AeC_qAiGP0BkTRUPYVPL3">htt=
ps://groups.google.com/d/topic/robocode/zlmGWtxVZv0/unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href=
 data-email-masked rel=3D"nofollow">[email protected]</a>.<br>
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/robocode/f02442c1-b6b8-4b49-9fde-33b692082c36n%40googlegroups.co=
m?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank" rel=3D"nofo=
llow" data-saferedirecturl=3D"https://www.google.com/url?hl=3Dda&amp;q=3Dht=
tps://groups.google.com/d/msgid/robocode/f02442c1-b6b8-4b49-9fde-33b692082c=
36n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&amp;sourc=
e=3Dgmail&amp;ust=3D1652640386452000&amp;usg=3DAOvVaw0u29UEr6mX5FfEY3wFiv5L=
">https://groups.google.com/d/msgid/robocode/f02442c1-b6b8-4b49-9fde-33b692=
082c36n%40googlegroups.com</a>.<br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
><div dir=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div>Louis Fleming=
<br>Computer Science, and=C2=A0 Robotics Instructor</div><div><span style=
=3D"font-size:12.8px">UIL Academic Coordinator /</span><span style=3D"font-=
size:12.8px">UIL Computer Science Coach /</span><span style=3D"font-size:12=
.8px">UIL Robotics Sponsor</span><span style=3D"font-size:12.8px">=C2=A0</s=
pan></div><div>FTC 10527,10528,10529,11902</div><div>Andrews High School / =
Andrews Texas<br>UIL Region 1-3A Computer Science Champions 2007</div><div>=
UIL STATE 3A Computer Science Silver Medalist 2008<br></div><div>UIL STATE =
3A Computer Science Gold Medalist 2013</div><div>UIL Regional Computer Scie=
nce Qualifiers 1999-2019<br><br><br></div></div></div></div></div></div>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Robocode&quot; 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/ee9595ea-3b30-4266-9be0-45a4de305da0n%40googlegroups.co=
m?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid=
/robocode/ee9595ea-3b30-4266-9be0-45a4de305da0n%40googlegroups.com</a>.<br =
/>

------=_Part_5167_176936696.1652554661266--

------=_Part_5166_1800175662.1652554661266--