<div dir="ltr">

<span></span><div>I found a work around.<br></div><div><br></div><div>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">org.alice.ide.rootDirectory".</span></div><div><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">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">t looks for the platform directory that holds the OS specific libraries like jogl and ffmpeg.</span></span></div><div><br></div><div>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">ApplicationRoot is used by calling:</span></div><div><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"><br></span></div><div><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">  System.setProperty("org.alice.ide.rootDirectory", "./");</span><br></div><div><br></div><div><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">This could be the first line in main().</span><br></div><div>Make sure that second directory holds the platform folder with the required libraries.<br></div><div>It is not quite a single file, but it can be run.</div><div><br></div><div>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><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 4, 2018 at 11:24 AM, Donald Slater <span dir="ltr"><<a href="mailto:dslater@andrew.cmu.edu" target="_blank">dslater@andrew.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Edward,<div>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><br></div><div>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><br></div><div>I am sorry.</div><div><br></div><div>Don Slater</div><div><br></div><div>Alice Project<br><br><div id="m_6448867211821189917AppleMailSignature">Sent from my iPad</div><div><div class="h5"><div><br>On Feb 2, 2018, at 2:20 PM, Edward Pratowski <<a href="mailto:epratowski@newhopeacademy.net" target="_blank">epratowski@newhopeacademy.net</a><wbr>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>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>This is the error:<div><pre style="color:rgb(0,0,0)"><i>"System property: org.alice.ide.rootDirectory is not set. Alice will not work until this is addressed."</i></pre><pre style="color:rgb(0,0,0)">I get it when I try to open a jar that I created in Netbeans. </pre><pre style="color:rgb(0,0,0)">Here is what does work:</pre><pre style="color:rgb(0,0,0)">I can create a runnable jar from my own code in Netbeans. </pre><pre style="color:rgb(0,0,0)">I can run that jar on any system. </pre><pre style="color:rgb(0,0,0)">I can create a project in Alice 3. </pre><pre style="color:rgb(0,0,0)">I can save that project. </pre><pre style="color:rgb(0,0,0)">I did successfully download and install the Alice plugin for Netbeans.</pre><pre style="color:rgb(0,0,0)">I did double-check the versions of my JDK, my Alice plugin, and Netbeans. They all seem compatible.</pre><pre style="color:rgb(0,0,0)">[maybe there are more details about these versions that I need to check?]</pre><pre style="color:rgb(0,0,0)">I can import my Alice 3 project into Netbeans and run it.</pre><pre style="color:rgb(0,0,0)">I can create a runnable jar from that project.</pre><pre style="color:rgb(0,0,0)">* Here is the problem:</pre><pre style="color:rgb(0,0,0)">When I click on the runnable jar made from the Alice project, I get this error "...rootDirectory is not set..."</pre><pre style="color:rgb(0,0,0)">I checked every setting I could think of and everything seems to match the (reputable) directions I have found online.</pre><pre style="color:rgb(0,0,0)">So I don't know what to do. Please Help!</pre><pre style="color:rgb(0,0,0)">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="color:rgb(0,0,0)">Thank you for your time and consideration.</pre><pre style="color:rgb(0,0,0)">-Ed</pre><div><div class="m_6448867211821189917gmail_signature"><div dir="ltr"><div><div dir="ltr">Edward Pratowski<div><a href="mailto:epratowski@NewHopeAcademy.net" target="_blank">epratowski@NewHopeAcademy.net</a></div><div><br></div></div></div></div></div></div>
</div></div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>______________________________<wbr>_________________</span><br><span>alice-teachers mailing list</span><br><span><a href="mailto:alice-teachers@lists.andrew.cmu.edu" target="_blank">alice-teachers@lists.andrew.<wbr>cmu.edu</a></span><br><span>To change settings or unsubscribe visit:</span><br><span><a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" target="_blank">https://lists.andrew.cmu.edu/<wbr>mailman/listinfo/alice-<wbr>teachers</a></span></div></blockquote></div></div><br>______________________________<wbr>_________________<br>
alice-teachers mailing list<br>
<a href="mailto:alice-teachers@lists.andrew.cmu.edu">alice-teachers@lists.andrew.<wbr>cmu.edu</a><br>
To change settings or unsubscribe visit:<br>
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers" rel="noreferrer" target="_blank">https://lists.andrew.cmu.edu/<wbr>mailman/listinfo/alice-<wbr>teachers</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr">Daniel Abeshouse<div><br></div><div>Alice Project</div><div>Carnegie Mellon <span style="color:rgb(33,33,33);font-family:sans-serif;font-size:13px">University</span></div></div></div></div></div>
</div></div>