<?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>students@work &#187; java</title>
	<atom:link href="http://www.stupent.at/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stupent.at</link>
	<description>Antworten auf die die Menschheit gewartet hat!  -- Heisenberg war hier ... oder auch nicht!</description>
	<lastBuildDate>Tue, 17 Aug 2010 13:51:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Weka Error Message: &#8216;training and test set are not compatible&#8217;</title>
		<link>http://www.stupent.at/2010/08/02/weka-error-message-training-and-test-set-are-not-compatible/</link>
		<comments>http://www.stupent.at/2010/08/02/weka-error-message-training-and-test-set-are-not-compatible/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 10:22:31 +0000</pubDate>
		<dc:creator>Cici</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[arff]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[weka]]></category>

		<guid isPermaLink="false">http://www.stupent.at/?p=259</guid>
		<description><![CDATA[If you encounter this error message: &#8220;training and test set are not compatible&#8221; , and are totaly sure, that the files are correct, try copying the header from one file to the other. This solved the problem for me! This seems to work for ARFF files only!
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.stupent.at%2F2010%2F08%2F02%2Fweka-error-message-training-and-test-set-are-not-compatible%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.stupent.at%2F2010%2F08%2F02%2Fweka-error-message-training-and-test-set-are-not-compatible%2F" height="61" width="51" /></a></div><p>If you encounter this error message: &#8220;<em>training and test set are not compatible</em>&#8221; , and are totaly sure, that the files are correct, try copying the header from one file to the other. This solved the problem for me! This seems to work for ARFF files only!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stupent.at/2010/08/02/weka-error-message-training-and-test-set-are-not-compatible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A new blog-series will start soon! Samsung Widget Development!</title>
		<link>http://www.stupent.at/2009/11/21/a-new-blog-series-will-start-soon-samsung-widget-development/</link>
		<comments>http://www.stupent.at/2009/11/21/a-new-blog-series-will-start-soon-samsung-widget-development/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 13:39:52 +0000</pubDate>
		<dc:creator>Cici</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[midp]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[touchwiz]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.stupent.at/?p=222</guid>
		<description><![CDATA[On Monday I willl receive my brand new Samsung Star mobile phone. This day will be the start of a new series of this blog about Samsung Widget Development! Stay tuned!
First information sources for this: 

http://www.bada.com
http://innovator.samsungmobile.com

]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.stupent.at%2F2009%2F11%2F21%2Fa-new-blog-series-will-start-soon-samsung-widget-development%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.stupent.at%2F2009%2F11%2F21%2Fa-new-blog-series-will-start-soon-samsung-widget-development%2F" height="61" width="51" /></a></div><p>On Monday I willl receive my brand new Samsung Star mobile phone. This day will be the start of a new series of this blog about Samsung Widget Development! <strong>Stay tuned</strong>!</p>
<p>First information sources for this: </p>
<ul>
<li><a href="http://www.bada.com">http://www.bada.com</a></li>
<li><a href="http://innovator.samsungmobile.com">http://innovator.samsungmobile.com</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.stupent.at/2009/11/21/a-new-blog-series-will-start-soon-samsung-widget-development/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Cobertura 1.9.2 / JDK 1.6.0_14 incompatible</title>
		<link>http://www.stupent.at/2009/11/04/cobertura-1-9-2-jdk-1-6-0_14-incompatible/</link>
		<comments>http://www.stupent.at/2009/11/04/cobertura-1-9-2-jdk-1-6-0_14-incompatible/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 15:38:27 +0000</pubDate>
		<dc:creator>Cici</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[cobertura]]></category>
		<category><![CDATA[coverage]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.stupent.at/?p=220</guid>
		<description><![CDATA[Using Cobertura 1.9.2 with  JDK 1.6.0_14 raised the following exceptions:

Exception in thread "Thread-0" java.lang.ExceptionInInitializerError
at java.io.File.deleteOnExit(File.java:939)
at net.sourceforge.cobertura.util.FileLocker.(FileLocker.java:80)
at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)
at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalStateException: Shutdown in progress
at java.lang.Shutdown.add(Shutdown.java:62)
at java.lang.System$2.registerShutdownHook(System.java:1146)
at java.io.DeleteOnExitHook.(DeleteOnExitHook.java:20)
The newer versions of Cobertura fixed this issue!
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.stupent.at%2F2009%2F11%2F04%2Fcobertura-1-9-2-jdk-1-6-0_14-incompatible%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.stupent.at%2F2009%2F11%2F04%2Fcobertura-1-9-2-jdk-1-6-0_14-incompatible%2F" height="61" width="51" /></a></div><p>Using Cobertura 1.9.2 with  JDK 1.6.0_14 raised the following exceptions:</p>
<p><code><br />
Exception in thread "Thread-0" java.lang.ExceptionInInitializerError<br />
at java.io.File.deleteOnExit(File.java:939)<br />
at net.sourceforge.cobertura.util.FileLocker.<init>(FileLocker.java:80)<br />
at net.sourceforge.cobertura.coveragedata.ProjectData.saveGlobalProjectData(ProjectData.java:230)<br />
at net.sourceforge.cobertura.coveragedata.SaveTimer.run(SaveTimer.java:31)<br />
at java.lang.Thread.run(Thread.java:619)<br />
Caused by: java.lang.IllegalStateException: Shutdown in progress<br />
at java.lang.Shutdown.add(Shutdown.java:62)<br />
at java.lang.System$2.registerShutdownHook(System.java:1146)<br />
at java.io.DeleteOnExitHook.<clinit>(DeleteOnExitHook.java:20)</clinit></init></code></p>
<p>The newer versions of Cobertura fixed this issue!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stupent.at/2009/11/04/cobertura-1-9-2-jdk-1-6-0_14-incompatible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessing Matlab from Java</title>
		<link>http://www.stupent.at/2009/04/15/accessing-matlab-from-java/</link>
		<comments>http://www.stupent.at/2009/04/15/accessing-matlab-from-java/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 11:42:44 +0000</pubDate>
		<dc:creator>Cici</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[matlab]]></category>

		<guid isPermaLink="false">http://www.stupent.at/2009/04/15/accessing-matlab-from-java/</guid>
		<description><![CDATA[Today i had to access a matlab script from a java program. After some hours of trying to get it work by using matlabs command line i found a method to call a matlab script without using the command line. Using matlab -r &#8220;functionName&#8221; didn&#8217;t work because of some unknown charset erros i haven&#8217;t found [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.stupent.at%2F2009%2F04%2F15%2Faccessing-matlab-from-java%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.stupent.at%2F2009%2F04%2F15%2Faccessing-matlab-from-java%2F" height="61" width="51" /></a></div><p>Today i had to access a matlab script from a java program. After some hours of trying to get it work by using matlabs command line i found a method to call a matlab script without using the command line. Using matlab -r &#8220;functionName&#8221; didn&#8217;t work because of some unknown charset erros i haven&#8217;t found till now. The basic idea is based on this <a href="http://shatterednirvana.wordpress.com/2007/07/12/howto-call-matlab-from-java-kinda/">blog-post</a>.</p>
<p>Therefore, a process must be created:</p>
<p><code><br />
String command = "matlab -nosplash -nodesktop";<br />
Process process = Runtime.getRuntime().exec(command);<br />
</code></p>
<p>Afterwards we obtain the standard-input of the process and send a command to be interpreted by matlab:</p>
<p><code><br />
BufferedWriter out = new BufferedWriter(new OutputStreamWriter(process.getOutputStream()));<br />
out.write("function_to_be_executed");<br />
out.write("\n");<br />
out.write("exit;") // this will close matlab after the execution finished!<br />
</code></p>
<p>If you like to see what is happening, try to read from the process.getInputStream()</p>
<p>hope that helps some of you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stupent.at/2009/04/15/accessing-matlab-from-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
