<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Java version and missing pre-req</title>
        <description> I saw Adrian&#039;s note about the new code, and I thought I would give it a go.  Previously I had only used the released binaries, not the source.

So I went through the install instructions for Linux, I already had Eclipse (by the way the example shown is very old, I am using Ganymede SR1 and it works well) and I noticed that in some places it talks about Java 1.4, in others 1.5.  It strikes me that it would be better to move to OpenJDK (effectively Java 6) firstly because it is more &quot;open source&quot;, and secondly because it gets around the next problem.  Its also faster and better in other ways and runs on lots more platforms.

The next problem I hit is that the new code seems to need org.jdesktop.layout.GroupLayout, and the Jar for that is not in the pre-req list.  Now if we were using Java-6 (either Sun or OpenJDK) this would not be a problem (although it would need changing the package name) as it is part of the core Java Swing libraries now.</description>
        <link>https://reprap.org/forum/read.php?12,18095,18095#msg-18095</link>
        <lastBuildDate>Thu, 15 Oct 2026 16:28:28 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18510#msg-18510</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18510#msg-18510</link>
            <description><![CDATA[ Go to Documents and Files, and select release 1.0.3]]></description>
            <dc:creator>davidgoodenough</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Mon, 17 Nov 2008 04:39:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18509#msg-18509</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18509#msg-18509</link>
            <description><![CDATA[ Hi David<br />
<br />
You say:-<br />
<br />
"Download the jar from swing-layout.dev.java.net and include it in your classpath" <br />
<br />
Can you give a link to the actual Jar file as I could not locate it. Probably can't see the wood for the trees.]]></description>
            <dc:creator>emt</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Mon, 17 Nov 2008 03:57:54 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18203#msg-18203</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18203#msg-18203</link>
            <description><![CDATA[ I'm still missing something...<br />
<br />
I only have one jar file being created using an up to date svn.  Are there instructions anywhere?  Where is the multimode host jar supposed to be?  the jar thats created in the jar directory is the old one.  <br />
<br />
Thanks for the help]]></description>
            <dc:creator>mellery</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Thu, 30 Oct 2008 20:22:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18190#msg-18190</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18190#msg-18190</link>
            <description><![CDATA[ I have managed to clear all the warnings from the compilation of the RepRap host code.  If anyone wants it I can generate a diff (which will also switch to using the Java-6 GroupLayout).]]></description>
            <dc:creator>davidgoodenough</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Thu, 30 Oct 2008 13:32:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18185#msg-18185</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18185#msg-18185</link>
            <description><![CDATA[ You need to check the shell script/batch file that is running the host program, and make sure it is picking up the right jar.]]></description>
            <dc:creator>davidgoodenough</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Thu, 30 Oct 2008 09:41:31 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18183#msg-18183</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18183#msg-18183</link>
            <description><![CDATA[ No, I'm not sure how to tell?<br />
<br />
I just checked out [<a href="https://reprap.svn.sourceforge.net/svnroot/reprap/trunk/reprap" target="_blank"  rel="nofollow">reprap.svn.sourceforge.net</a>] and did the commands I posted about]]></description>
            <dc:creator>mellery</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Thu, 30 Oct 2008 08:24:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18180#msg-18180</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18180#msg-18180</link>
            <description><![CDATA[ Are you sure you were using the new jar file?  It certainly generated the new UI when I tried it.<br />
<br />
BTW, I have generated a patch to move to using Java 6 GroupLayout (the one now in the Swing package).  Once I have tested it I will post it here.]]></description>
            <dc:creator>davidgoodenough</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Thu, 30 Oct 2008 06:03:48 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18176#msg-18176</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18176#msg-18176</link>
            <description><![CDATA[ thanks that workaround worked!<br />
<br />
I did  setup-reprap-host-dev-environment.sh<br />
<br />
and then ~/projects/reprap/Reprap$ ant run<br />
<br />
but the java app doesn't look like the multimode host from the blog post, did I run the wrong commands?<br />
<br />
Thanks again]]></description>
            <dc:creator>mellery</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Wed, 29 Oct 2008 20:09:29 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18164#msg-18164</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18164#msg-18164</link>
            <description><![CDATA[ Download the jar from swing-layout.dev.java.net and include it in your classpath (it can be put in jre/lib/ext).<br />
<br />
The proper solution is to move to Java 6 where it is part of the package but that requires source changes because the package changes.]]></description>
            <dc:creator>davidgoodenough</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Wed, 29 Oct 2008 06:13:48 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18161#msg-18161</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18161#msg-18161</link>
            <description><![CDATA[ I get about 100 org.jdesktop.layout.GroupLayout errors, how did you fix it?  I have java 1.5 installed.  Thanks]]></description>
            <dc:creator>mellery</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Tue, 28 Oct 2008 21:55:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18096#msg-18096</guid>
            <title>Re: Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18096#msg-18096</link>
            <description><![CDATA[ BTW, if we are going to move to at least 1.5 and the minimum, then we can tidy up (and I am very happy to do this - I have done it on many projects over the years) many of the warnings due to the lack of Generics on things like ArrayLists.]]></description>
            <dc:creator>davidgoodenough</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Mon, 27 Oct 2008 07:34:27 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?12,18095,18095#msg-18095</guid>
            <title>Java version and missing pre-req</title>
            <link>https://reprap.org/forum/read.php?12,18095,18095#msg-18095</link>
            <description><![CDATA[ I saw Adrian's note about the new code, and I thought I would give it a go.  Previously I had only used the released binaries, not the source.<br />
<br />
So I went through the install instructions for Linux, I already had Eclipse (by the way the example shown is very old, I am using Ganymede SR1 and it works well) and I noticed that in some places it talks about Java 1.4, in others 1.5.  It strikes me that it would be better to move to OpenJDK (effectively Java 6) firstly because it is more "open source", and secondly because it gets around the next problem.  Its also faster and better in other ways and runs on lots more platforms.<br />
<br />
The next problem I hit is that the new code seems to need org.jdesktop.layout.GroupLayout, and the Jar for that is not in the pre-req list.  Now if we were using Java-6 (either Sun or OpenJDK) this would not be a problem (although it would need changing the package name) as it is part of the core Java Swing libraries now.]]></description>
            <dc:creator>davidgoodenough</dc:creator>
            <category>RepRap Host</category>
            <pubDate>Mon, 27 Oct 2008 07:11:32 -0400</pubDate>
        </item>
    </channel>
</rss>
