<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Cool…<div class="">I am looking forward to checking this out…</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Don</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 4, 2018, at 12:06 PM, Daniel Abeshouse <<a href="mailto:dabeshou@andrew.cmu.edu" class="">dabeshou@andrew.cmu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">
<span class=""></span><div class="">I found a work around.<br class=""></div><div class=""><br class=""></div><div class="">At runtime the ApplicationRoot is setup and reads the property "<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class="">org.alice.ide.rootDirectory".</span></div><div class=""><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class="">In there i<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class="">t looks for the platform directory that holds the OS specific libraries like jogl and ffmpeg.</span></span></div><div class=""><br class=""></div><div class="">You can set this property in code before <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class="">ApplicationRoot is used by calling:</span></div><div class=""><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class=""><br class=""></span></div><div class=""><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class=""> System.setProperty("org.alice.ide.rootDirectory", "./");</span><br class=""></div><div class=""><br class=""></div><div class=""><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class="">This could be the first line in main().</span><br class=""></div><div class="">Make sure that second directory holds the platform folder with the required libraries.<br class=""></div><div class="">It is not quite a single file, but it can be run.</div><div class=""><br class=""></div><div class="">My verification of this is on my machine at the office. Unfortunately, my VPN just updated, meaning it broke itself, so I may send further details and corrections tomorrow.</div><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sun, Feb 4, 2018 at 11:24 AM, Donald Slater <span dir="ltr" class=""><<a href="mailto:dslater@andrew.cmu.edu" target="_blank" class="">dslater@andrew.cmu.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class="">Edward,<div class="">I am guessing that you are trying to create an executable .jar file. This is currently not possible, or I have not yet figured out a solution to the problem you are now wrestling with.</div><div class=""><br class=""></div><div class="">We are working on a player that will allow you to run Alice Projects without needing Alice, but I cannot now say when it will be ready.</div><div class=""><br class=""></div><div class="">I am sorry.</div><div class=""><br class=""></div><div class="">Don Slater</div><div class=""><br class=""></div><div class="">Alice Project<br class=""><br class=""><div id="m_6448867211821189917AppleMailSignature" class="">Sent from my iPad</div><div class=""><div class="h5"><div class=""><br class="">On Feb 2, 2018, at 2:20 PM, Edward Pratowski <<a href="mailto:epratowski@newhopeacademy.net" target="_blank" class="">epratowski@newhopeacademy.net</a><wbr class="">> wrote:<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">Someone, Please Help!</div>I can't figure out how to correct this weird error. The only relevant post I found was on the Alice Teachers' forum more than three years ago. <div class="">This is the error:<div class=""><pre style="" class=""><i class="">"System property: org.alice.ide.rootDirectory is not set. Alice will not work until this is addressed."</i></pre><pre style="" class="">I get it when I try to open a jar that I created in Netbeans. </pre><pre style="" class="">Here is what does work:</pre><pre style="" class="">I can create a runnable jar from my own code in Netbeans. </pre><pre style="" class="">I can run that jar on any system. </pre><pre style="" class="">I can create a project in Alice 3. </pre><pre style="" class="">I can save that project. </pre><pre style="" class="">I did successfully download and install the Alice plugin for Netbeans.</pre><pre style="" class="">I did double-check the versions of my JDK, my Alice plugin, and Netbeans. They all seem compatible.</pre><pre style="" class="">[maybe there are more details about these versions that I need to check?]</pre><pre style="" class="">I can import my Alice 3 project into Netbeans and run it.</pre><pre style="" class="">I can create a runnable jar from that project.</pre><pre style="" class="">* Here is the problem:</pre><pre style="" class="">When I click on the runnable jar made from the Alice project, I get this error "...rootDirectory is not set..."</pre><pre style="" class="">I checked every setting I could think of and everything seems to match the (reputable) directions I have found online.</pre><pre style="" class="">So I don't know what to do. Please Help!</pre><pre style="" class="">This is the last part of a great project I have that I will share with all Alice users and Java developers, but I have to solve this first.</pre><pre style="" class="">Thank you for your time and consideration.</pre><pre style="" class="">-Ed</pre><div class=""><div class="m_6448867211821189917gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Edward Pratowski<div class=""><a href="mailto:epratowski@NewHopeAcademy.net" target="_blank" class="">epratowski@NewHopeAcademy.net</a></div><div class=""><br class=""></div></div></div></div></div></div>
</div></div></div>
</div></blockquote></div></div><blockquote type="cite" class=""><div class=""><span class="">______________________________<wbr class="">_________________</span><br class=""><span class="">alice-teachers mailing list</span><br class=""><span class=""><a href="mailto:alice-teachers@lists.andrew.cmu.edu" target="_blank" class="">alice-teachers@lists.andrew.<wbr class="">cmu.edu</a></span><br class=""><span class="">To change settings or unsubscribe visit:</span><br class=""><span class=""><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank" class="">https://lists.andrew.cmu.edu/<wbr class="">mailman/listinfo/alice-<wbr class="">teachers</a></span></div></blockquote></div></div><br class="">______________________________<wbr class="">_________________<br class="">
alice-teachers mailing list<br class="">
<a href="mailto:alice-teachers@lists.andrew.cmu.edu" class="">alice-teachers@lists.andrew.<wbr class="">cmu.edu</a><br class="">
To change settings or unsubscribe visit:<br class="">
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" rel="noreferrer" target="_blank" class="">https://lists.andrew.cmu.edu/<wbr class="">mailman/listinfo/alice-<wbr class="">teachers</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Daniel Abeshouse<div class=""><br class=""></div><div class="">Alice Project</div><div class="">Carnegie Mellon <span style="color:rgb(33,33,33);font-family:sans-serif;font-size:13px" class="">University</span></div></div></div></div></div>
</div></div>
_______________________________________________<br class="">alice-teachers mailing list<br class=""><a href="mailto:alice-teachers@lists.andrew.cmu.edu" class="">alice-teachers@lists.andrew.cmu.edu</a><br class="">To change settings or unsubscribe visit:<br class="">https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers</div></blockquote></div><br class=""></div></body></html>