<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private Cave &#187; java</title> <atom:link href="https://bogdan.org.ua/tags/java/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>Using Python in a Java project</title><link>https://bogdan.org.ua/2011/05/17/using-python-in-a-java-project.html</link> <comments>https://bogdan.org.ua/2011/05/17/using-python-in-a-java-project.html#comments</comments> <pubDate>Tue, 17 May 2011 11:33:52 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Links]]></category> <category><![CDATA[Movies]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[Groovy]]></category> <category><![CDATA[java]]></category> <category><![CDATA[Jython]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=1589</guid> <description><![CDATA[If you are a Python zealot, and Java doesn&#8217;t feel right, but the project you are working on is a Java project &#8211; try Jython &#8211; Python for the Java platform, compile your python scripts into Java bytecode Groovy &#8211; not Python, but still a scripting language which compiles to jars]]></description> <content:encoded><![CDATA[<p>If you are a Python zealot, and Java <em>doesn&#8217;t feel right</em>, but the project you are working on is a Java project &#8211; try</p><ul><li><a
href="http://www.jython.org/">Jython</a> &#8211; Python for the Java platform, compile your python scripts into Java bytecode</li><li><a
href="http://groovy.codehaus.org/" class="broken_link" rel="nofollow">Groovy</a> &#8211; not Python, but still a scripting language which compiles to jars</li></ul><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2011%2F05%2F17%2Fusing-python-in-a-java-project.html&amp;linkname=Using%20Python%20in%20a%20Java%20project" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2011%2F05%2F17%2Fusing-python-in-a-java-project.html&amp;linkname=Using%20Python%20in%20a%20Java%20project" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2011%2F05%2F17%2Fusing-python-in-a-java-project.html&amp;linkname=Using%20Python%20in%20a%20Java%20project" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2011%2F05%2F17%2Fusing-python-in-a-java-project.html&amp;linkname=Using%20Python%20in%20a%20Java%20project" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2011%2F05%2F17%2Fusing-python-in-a-java-project.html&amp;linkname=Using%20Python%20in%20a%20Java%20project" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2011%2F05%2F17%2Fusing-python-in-a-java-project.html&#038;title=Using%20Python%20in%20a%20Java%20project" data-a2a-url="https://bogdan.org.ua/2011/05/17/using-python-in-a-java-project.html" data-a2a-title="Using Python in a Java project"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2011/05/17/using-python-in-a-java-project.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CLANS: CLuster ANalysis of Sequences</title><link>https://bogdan.org.ua/2008/10/25/clans-cluster-analysis-of-sequences.html</link> <comments>https://bogdan.org.ua/2008/10/25/clans-cluster-analysis-of-sequences.html#comments</comments> <pubDate>Fri, 24 Oct 2008 23:20:39 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Bioinformatics]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Science]]></category> <category><![CDATA[analysis]]></category> <category><![CDATA[clustering]]></category> <category><![CDATA[java]]></category> <category><![CDATA[sequences]]></category> <category><![CDATA[tool]]></category> <category><![CDATA[visualization]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=423</guid> <description><![CDATA[CLANS (CLuster ANalysis of Sequences). Found via Freelancing science: CLANS runs (PSI)BLAST on your sequences, all vs all, and clusters them in 2D or 3D according to their similarity. This method allows for rapid classification of huge datasets and has the advantage over, lets say, phylogenetic tree, that one can quickly assess results of the [&#8230;]]]></description> <content:encoded><![CDATA[<p><a
href="http://bioinfoserver.rsbs.anu.edu.au/programs/clans/" class="broken_link" rel="nofollow">CLANS</a> (CLuster ANalysis of Sequences).<br
/> <span
id="more-423"></span><br
/> Found via <a
href="http://freelancingscience.com/2008/01/22/clans-java-tool-for-cluster-analysis-of-sequences/">Freelancing science</a>:</p><blockquote><p>CLANS runs (PSI)BLAST on your sequences, all vs all, and clusters them in 2D or 3D according to their similarity. This method allows for rapid classification of huge datasets and has the advantage over, lets say, phylogenetic tree, that one can quickly assess results of the clustering in a visual way (I cannot imagine making any sense of looking at phylogenetic tree with 1500 branches, while the graphical output, as on the animation below, is pretty easy to read).</p></blockquote><div
align="center"><img
src="http://bogdan.org.ua/wp-content/uploads/2008/10/clansmicroanim.gif" alt="" title="animated 3D cluster" width="500" height="434" class="aligncenter size-full wp-image-424" /></div><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F10%2F25%2Fclans-cluster-analysis-of-sequences.html&amp;linkname=CLANS%3A%20CLuster%20ANalysis%20of%20Sequences" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F10%2F25%2Fclans-cluster-analysis-of-sequences.html&amp;linkname=CLANS%3A%20CLuster%20ANalysis%20of%20Sequences" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F10%2F25%2Fclans-cluster-analysis-of-sequences.html&amp;linkname=CLANS%3A%20CLuster%20ANalysis%20of%20Sequences" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F10%2F25%2Fclans-cluster-analysis-of-sequences.html&amp;linkname=CLANS%3A%20CLuster%20ANalysis%20of%20Sequences" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F10%2F25%2Fclans-cluster-analysis-of-sequences.html&amp;linkname=CLANS%3A%20CLuster%20ANalysis%20of%20Sequences" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2008%2F10%2F25%2Fclans-cluster-analysis-of-sequences.html&#038;title=CLANS%3A%20CLuster%20ANalysis%20of%20Sequences" data-a2a-url="https://bogdan.org.ua/2008/10/25/clans-cluster-analysis-of-sequences.html" data-a2a-title="CLANS: CLuster ANalysis of Sequences"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2008/10/25/clans-cluster-analysis-of-sequences.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Installing libsbml on Debian (to make iBioSim start)</title><link>https://bogdan.org.ua/2008/08/30/installing-libsbml-on-debian-to-make-ibiosim-start.html</link> <comments>https://bogdan.org.ua/2008/08/30/installing-libsbml-on-debian-to-make-ibiosim-start.html#comments</comments> <pubDate>Sat, 30 Aug 2008 21:38:26 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[*nix]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Science]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Systems Biology]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[java]]></category> <category><![CDATA[libsbml]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=336</guid> <description><![CDATA[There&#8217;s a troubleshooter for Ubuntu, which (expectedly) works quite the same for Debian (lenny in my case). I&#8217;m installing libsbml to make the iBioSim tool work under Debian GNU/Linux. First thing I had to do was to make Sun&#8217;s java interpreter do all the java interpretation work instead of gcj: sudo update-java-alternatives -s java-6-sun (this [&#8230;]]]></description> <content:encoded><![CDATA[<p>There&#8217;s a <a
href="http://xzhou82.blogspot.com/2008/06/install-libsbml-on-ubuntu.html">troubleshooter for Ubuntu</a>, which (expectedly) works quite the same for <a
href="http://www.debian.org/">Debian</a> (lenny in my case).</p><p>I&#8217;m installing <a
href="http://sbml.org/Software/libSBML">libsbml</a> to make the <a
href="http://www.async.ece.utah.edu/iBioSim/">iBioSim</a> tool work under Debian GNU/Linux. First thing I had to do was to make Sun&#8217;s java interpreter do all the java interpretation work instead of gcj: <strong>sudo update-java-alternatives -s java-6-sun</strong> (this assumes you do have java-6-sun installed).</p><p>Installing libsbml moved me one step further, now I&#8217;m getting another error from iBioSim:</p><pre>
Exception in thread "main" java.lang.NoClassDefFoundError: biomodelsim/BioSim
Caused by: java.lang.ClassNotFoundException: biomodelsim.BioSim
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
</pre><p>This yet has to be fixed somehow.</p><p>If <a
href="http://xzhou82.blogspot.com/">Zhou Xin&#8217;s blog</a> becomes for any reason inaccessible (or moves to his own domain), below is the extract of the instructions from his post on how to install libsbml on Debian/Ubuntu Linux:<br
/> <span
id="more-336"></span></p><blockquote><p> - first, install all the necessary packages:<br
/> <strong><a
href="http://bogdan.org.ua/2007/08/19/linux-package-management-use-aptitude-if-your-distro-has-it.html">aptitude</a> install build-essential libxml2 libxml2-dev python-dev</strong></p><p>- then configure, make and install libsbml:<br
/> <strong>./configure &ndash;&ndash;with-python</strong> (execute from the directory where the downloaded libsbml archive was extracted to)<br
/> <strong>make</strong><br
/> <strong>make install</strong><br
/> <strong>ldconfig</strong></p><p>- then check if installation was successful:<br
/> <strong>python</strong><br
/> and when the python prompt >>> appears, run <strong>from libsbml import *</strong> &#8211; if there are no warnings/errors, then you are done!</p></blockquote><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F08%2F30%2Finstalling-libsbml-on-debian-to-make-ibiosim-start.html&amp;linkname=Installing%20libsbml%20on%20Debian%20%28to%20make%20iBioSim%20start%29" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F08%2F30%2Finstalling-libsbml-on-debian-to-make-ibiosim-start.html&amp;linkname=Installing%20libsbml%20on%20Debian%20%28to%20make%20iBioSim%20start%29" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F08%2F30%2Finstalling-libsbml-on-debian-to-make-ibiosim-start.html&amp;linkname=Installing%20libsbml%20on%20Debian%20%28to%20make%20iBioSim%20start%29" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F08%2F30%2Finstalling-libsbml-on-debian-to-make-ibiosim-start.html&amp;linkname=Installing%20libsbml%20on%20Debian%20%28to%20make%20iBioSim%20start%29" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F08%2F30%2Finstalling-libsbml-on-debian-to-make-ibiosim-start.html&amp;linkname=Installing%20libsbml%20on%20Debian%20%28to%20make%20iBioSim%20start%29" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2008%2F08%2F30%2Finstalling-libsbml-on-debian-to-make-ibiosim-start.html&#038;title=Installing%20libsbml%20on%20Debian%20%28to%20make%20iBioSim%20start%29" data-a2a-url="https://bogdan.org.ua/2008/08/30/installing-libsbml-on-debian-to-make-ibiosim-start.html" data-a2a-title="Installing libsbml on Debian (to make iBioSim start)"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2008/08/30/installing-libsbml-on-debian-to-make-ibiosim-start.html/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>