<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>ModelGUI Wiki Site - new forum posts</title>
		<link>http://mgui.wikidot.com/forum/start</link>
		<description>Posts in forums of the site &quot;ModelGUI Wiki Site&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Sun, 12 Apr 2026 00:41:03 +0000</lastBuildDate>
		
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1717425#post-2513172</guid>
				<title>Starting error</title>
				<link>http://mgui.wikidot.com/forum/t-1717425/starting-error#post-2513172</link>
				<description></description>
				<pubDate>Mon, 23 May 2016 07:00:20 +0000</pubDate>
				<wikidot:authorName>Saske</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> First of all, thanks for making a great visualization program.</p> <p>I succeeded run M-gui on mac os but failed on windows 64 bit.<br /> I downloaded latest version of this (mgui-1.0.22-alpha) and have installed latest java program (jdk-8u91-windows-x64) already.<br /> However when I run the mgui-amd64.bat, there were some error messages in DOS window.</p> <p>Here is the message.</p> <hr /> <p>Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: C:\Users\A\Documents\mgui-1.0.22-alpha\gluegen-rt.dll</p> <hr /> <p>How can I fix this?</p> <p>Best,<br /> Saske</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1717425/starting-error">Starting error</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1156322#post-2412803</guid>
				<title></title>
				<link>http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc#post-2412803</link>
				<description></description>
				<pubDate>Tue, 24 Nov 2015 10:36:20 +0000</pubDate>
				<wikidot:authorName>Henry</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi, I’m having similar troubles, any help appreciated.</p> <p>When I try to start mgui, I get the following message:</p> <p>C:\Program Files\Mgui\mgui-1.0.22-alpha&gt;java -Djava.library.path=bin\amd64 -Xmx1000m -classpath .;*;lib;lib\* mgui.interfaces.exec.MguiStart<br /> Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'<br /> Details: sun.jdbc.odbc.JdbcOdbcDriver<br /> 3D [dev] 1.6.0-pre11-daily-experimental daily<br /> Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: Can't load library: C:\Program Files\Mgui\mgui-1.0.22-alpha\gluegen-rt.dll<br /> at java.lang.ClassLoader.loadLibrary(Unknown Source)<br /> at java.lang.Runtime.load0(Unknown Source)<br /> at java.lang.System.load(Unknown Source)<br /> […]</p> <p>Running Windows 7, and have the latest version of mgui. I checked that these files are not present elsewhere but in the mgui directory.</p> <p>j3daudio.jar<br /> j3dcore.jar<br /> j3dutils.jar<br /> vecmath.jar<br /> libJ3D.jnilib<br /> libJ3DAudio.jnlib<br /> libJ3DUtils.jnilib</p> <p>Also (the aforementioned) files (e.g. glugen-rt.jar) are found in mgui\lib directory<br /> I should have the latest Java version installed:</p> <p>java version &quot;1.8.0_65&quot;<br /> Java(TM) SE Runtime Environment (build 1.8.0_65-b17)<br /> Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc">Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1156322#post-2258201</guid>
				<title>Re: Could not initiate driver &#039;JDBC-ODBC&#039;, class &#039;sun.jdbc.odbc.JdbcOdbcDriver&#039;</title>
				<link>http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc#post-2258201</link>
				<description></description>
				<pubDate>Thu, 26 Mar 2015 15:02:17 +0000</pubDate>
				<wikidot:authorName>typically</wikidot:authorName>				<wikidot:authorUserId>356119</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Good to hear :) Have fun with it!</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc">Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1156322#post-2258166</guid>
				<title></title>
				<link>http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc#post-2258166</link>
				<description></description>
				<pubDate>Thu, 26 Mar 2015 14:12:09 +0000</pubDate>
				<wikidot:authorName>leonardo</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>a-ha! I think I have a go here :O)</p> <p>I forgot to re-delete the j3* files from the System/Library/Java/Extensions after I had tried it with the downloaded version.<br /> I now deleted them for good, and with this version, it works! :O)</p> <p>thank you so much for all the help!<br /> all the best,<br /> leonardo</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc">Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1156322#post-2258063</guid>
				<title>Re: Could not initiate driver &#039;JDBC-ODBC&#039;, class &#039;sun.jdbc.odbc.JdbcOdbcDriver&#039;</title>
				<link>http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc#post-2258063</link>
				<description></description>
				<pubDate>Thu, 26 Mar 2015 11:06:37 +0000</pubDate>
				<wikidot:authorName>typically</wikidot:authorName>				<wikidot:authorUserId>356119</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi again,</p> <p>Strange, it works for me. All necessary dependencies are in the &quot;lib&quot; directory. They include the following:</p> <p><tt>gluegen-rt-natives-macosx-universal.jar<br /> gluegen-rt.jar<br /> joal.jar<br /> jocl.jar<br /> jogl-all-natives-macosx-universal.jar<br /> jogl-all.jar<br /> jogl.jar<br /> vecmath.jar</tt></p> <p>Can you check the contents of 'System/Library/Java/Extensions'? This should be empty, or at least contain no (very obsolete) Java3D files, which conflict with the newer version of Java3D that is in ModelGUI's lib folder. If the following files are in there, you can safely delete them:</p> <p><tt>j3daudio.jar<br /> j3dcore.jar<br /> j3dutils.jar<br /> vecmath.jar<br /> libJ3D.jnilib<br /> libJ3DAudio.jnlib<br /> libJ3DUtils.jnilib</tt></p> <p>This has been a constant headache with OSX; I am considering adding the JRE directly to the download file to avoid depending on the system JRE in the future.</p> <p>Let me know if this helps or not.</p> <p>Cheers,<br /> Andrew</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc">Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1156322#post-2258029</guid>
				<title></title>
				<link>http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc#post-2258029</link>
				<description></description>
				<pubDate>Thu, 26 Mar 2015 08:52:32 +0000</pubDate>
				<wikidot:authorName>leonardo</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hello Andrew!</p> <p>thank you for your reply! I downloaded the updated version from the link you posted. Unfortunately the output is identical to the one I previously posted&#8230;<br /> Is there any way that I can set a path for the files to be found?</p> <p>all the best!<br /> leonardo</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc">Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1156322#post-2257296</guid>
				<title>Re: Could not initiate driver &#039;JDBC-ODBC&#039;, class &#039;sun.jdbc.odbc.JdbcOdbcDriver&#039;</title>
				<link>http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc#post-2257296</link>
				<description></description>
				<pubDate>Wed, 25 Mar 2015 08:50:46 +0000</pubDate>
				<wikidot:authorName>typically</wikidot:authorName>				<wikidot:authorUserId>356119</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Leonardo,</p> <p>Thanks for your interest in the software!</p> <p>Looks like an issue with the dependency library (Java3D was updated, but one or more of the new files don't seem to have made the lib directory). The download file for mgui-1.0.22-alpha has now been updated. You can get it at:</p> <p><a href="https://launchpad.net/modelgui/mgui-core/mgui-1.0.22-alpha/+download/mgui-1.0.22-alpha.zip">https://launchpad.net/modelgui/mgui-core/mgui-1.0.22-alpha/+download/mgui-1.0.22-alpha.zip</a></p> <p>This runs on my nearly identical MacBook with Java 8. Use the command:</p> <div class="code"> <pre><code>./mgui-mac</code></pre></div> <p>Let me know if you have any other issues! Also look out for a new version to be released very soon &#8212; since I'm now developing on a Mac, many of the Mac-related bugs have been worked out; also, a Mac dmg will be released that can be simply dragged to Applications and run.</p> <p>&#8212;Andrew</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc">Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1156322#post-2257290</guid>
				<title>Could not initiate driver &#039;JDBC-ODBC&#039;, class &#039;sun.jdbc.odbc.JdbcOdbcDriver&#039;</title>
				<link>http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc#post-2257290</link>
				<description></description>
				<pubDate>Wed, 25 Mar 2015 08:17:15 +0000</pubDate>
				<wikidot:authorName>leonardo</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hello guys!<br /> Your app looks amazing, but I really cannot manage to make it run. I followed the instructions in the README and in the forum, but I cannot get it to run.<br /> Can you please help me with that?<br /> Thank you very much in advance!</p> <p>I am using a MacBook Pro (2014) with OS X 10.9.5, and I downloaded mgui-1.0.22-alpha release from the mgui-core series released 2014-06-01.<br /> The JDK is installed in:<br /> /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk</p> <p>and this is the output of java -version:</p> <div class="code"> <pre><code>java version &quot;1.8.0_40&quot; Java(TM) SE Runtime Environment (build 1.8.0_40-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode</code></pre></div> <p>If I use the command for mac in the README, which has the amd64 option, I get:</p> <div class="code"> <pre><code>~/Downloads/mgui-1.0.22-alpha: java -Djava.library.path=bin/amd64 -Xmx1000m -classpath .:lib:lib/* mgui.interfaces.exec.MguiStart mgui.mac.init Error: Could not find or load main class mgui.interfaces.exec.MguiStart</code></pre></div> <p>If I use the mgui-mac command, which has the i586 option, I get:</p> <div class="code"> <pre><code>~/Downloads/mgui-1.0.22-alpha: ./mgui-mac Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver' Details: sun.jdbc.odbc.JdbcOdbcDriver Exception in thread &quot;main&quot; java.lang.UnsatisfiedLinkError: no J3D in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1122) at javax.media.j3d.MasterControl$22.run(MasterControl.java:891) at java.security.AccessController.doPrivileged(Native Method) at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:888) at javax.media.j3d.VirtualUniverse.&lt;clinit&gt;(VirtualUniverse.java:233) at mgui.interfaces.graphics.InterfaceGraphic3D.init(InterfaceGraphic3D.java:241) at mgui.interfaces.graphics.InterfaceGraphic3D.&lt;init&gt;(InterfaceGraphic3D.java:183) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at java.lang.Class.newInstance(Class.java:442) at mgui.interfaces.InterfaceEnvironment$InterfaceGraphicLoader.loadClass(InterfaceEnvironment.java:2025) at mgui.interfaces.InterfaceEnvironment.addInterfaceGraphicClass(InterfaceEnvironment.java:1087) at mgui.interfaces.InterfaceEnvironment.init(InterfaceEnvironment.java:466) at mgui.interfaces.InterfaceEnvironment.init(InterfaceEnvironment.java:194) at mgui.interfaces.InterfaceSession.start(InterfaceSession.java:192) at mgui.interfaces.InterfaceSession.start(InterfaceSession.java:169) at mgui.interfaces.exec.MguiStart.main(MguiStart.java:41) ========================================================================================</code></pre></div> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1156322/could-not-initiate-driver-jdbc-odbc-class-sun-jdbc-odbc-jdbc">Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1063282#post-2181759</guid>
				<title>Re: Could not find or load main class mgui.interfaces.exec.MguiStart</title>
				<link>http://mgui.wikidot.com/forum/t-1063282/could-not-find-or-load-main-class-mgui-interfaces-exec-mguis#post-2181759</link>
				<description></description>
				<pubDate>Tue, 16 Dec 2014 14:49:14 +0000</pubDate>
				<wikidot:authorName>typically</wikidot:authorName>				<wikidot:authorUserId>356119</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi again,</p> <p>Ah, yes this is a Mac-specific issue, which has been fixed with the newest (not yet released) version. Basically, older versions of OSX (i.e., a year old or older) come with an older version of Java3D installed, which for some reason overrides the version which ships with ModelGUI.</p> <p>The new version (1.0.23) will be released very soon, but if you don't want to wait, the resolution is illustrated <a href="http://www.openifctools.org/Open_IFC_Tools/mac_java3d.html">here</a>. Basically, you need to remove the old Java3D version:</p> <p>Go to the following directory: &quot;System/Library/Java/Extensions&quot;<br /> Delete these files (if present): j3daudio.jar, j3dcore.jar, j3dutils.jar, vecmath.jar, libJ3D.jnilib, libJ3DAudio.jnlib, libJ3DUtils.jnilib</p> <p>Sorry about the confusion! Let me know if this doesn't resolve the issue.</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1063282/could-not-find-or-load-main-class-mgui-interfaces-exec-mguis">Could not find or load main class mgui.interfaces.exec.MguiStart</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1063282#post-2178274</guid>
				<title></title>
				<link>http://mgui.wikidot.com/forum/t-1063282/could-not-find-or-load-main-class-mgui-interfaces-exec-mguis#post-2178274</link>
				<description></description>
				<pubDate>Fri, 12 Dec 2014 19:34:55 +0000</pubDate>
				<wikidot:authorName>Lea</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi Andrew,</p> <p>thank you very much for the answer. It is improving but still not working. Now I get another exception:</p> <p>Could not initiate driver 'JDBC-ODBC', class 'sun.jdbc.odbc.JdbcOdbcDriver'<br /> Details: sun.jdbc.odbc.JdbcOdbcDriver<br /> Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: javax/media/opengl/GLCapabilitiesChooser<br /> [&#8230;]<br /> Caused by: java.lang.ClassNotFoundException: javax.media.opengl.GLCapabilitiesChooser<br /> [&#8230;]</p> <p>any idea what that means?</p> <p>Thanks again!</p> <p>Cheers,<br /> Léa</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1063282/could-not-find-or-load-main-class-mgui-interfaces-exec-mguis">Could not find or load main class mgui.interfaces.exec.MguiStart</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1063282#post-2177839</guid>
				<title>Re: Could not find or load main class mgui.interfaces.exec.MguiStart</title>
				<link>http://mgui.wikidot.com/forum/t-1063282/could-not-find-or-load-main-class-mgui-interfaces-exec-mguis#post-2177839</link>
				<description></description>
				<pubDate>Fri, 12 Dec 2014 09:13:26 +0000</pubDate>
				<wikidot:authorName>typically</wikidot:authorName>				<wikidot:authorUserId>356119</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Lea,</p> <p>I think the problem is that it needs to be run from the ModelGUI directory itself. Try:</p> <div class="code"> <pre><code>cd /Applications/MINC/mcgui/mgui-1.0.22-alpha-src/ ./mgui-mac</code></pre></div> <p>You could also put this in an executable bash script if you want to run it from elsewhere.</p> <p>Let me know if you're still having problems! I plan to include OS-specific installers for the next release, to avoid these issues.</p> <p>Cheers,<br /> Andrew</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1063282/could-not-find-or-load-main-class-mgui-interfaces-exec-mguis">Could not find or load main class mgui.interfaces.exec.MguiStart</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1063282#post-2177496</guid>
				<title>Could not find or load main class mgui.interfaces.exec.MguiStart</title>
				<link>http://mgui.wikidot.com/forum/t-1063282/could-not-find-or-load-main-class-mgui-interfaces-exec-mguis#post-2177496</link>
				<description></description>
				<pubDate>Thu, 11 Dec 2014 23:03:11 +0000</pubDate>
				<wikidot:authorName>Lea</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>I have installed mgui 1.0.22-alpha on a Mac OSX 10.8.5, and I have installed java 3D jkd1.8.0.<br /> When I try to run mgui-mac, I got the following error:</p> <p>mac-5brown:~ lea$ /Applications/MINC/mcgui/mgui-1.0.22-alpha-src/mgui-mac ; exit;<br /> Error: Could not find or load main class mgui.interfaces.exec.MguiStart<br /> logout<br /> [Process completed]</p> <p>What is the problem and how can I fix it?<br /> Thank you</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1063282/could-not-find-or-load-main-class-mgui-interfaces-exec-mguis">Could not find or load main class mgui.interfaces.exec.MguiStart</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-1015980#post-2105064</guid>
				<title>Unsupported major.minor version 51.0</title>
				<link>http://mgui.wikidot.com/forum/t-1015980/unsupported-major-minor-version-51-0#post-2105064</link>
				<description></description>
				<pubDate>Mon, 08 Sep 2014 13:13:31 +0000</pubDate>
				<wikidot:authorName>typically</wikidot:authorName>				<wikidot:authorUserId>356119</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>On execution of ModelGUI, you may encounter the following exception:</p> <div class="code"> <pre><code>Unsupported major.minor version 51.0</code></pre></div> <p>This basically means the version of Java that runs by default on your system (i.e., the one which is called by typing &quot;java&quot; in the terminal) is outdated. To see what version is currently the default on your system, type:</p> <div class="code"> <pre><code>java -version</code></pre></div> <p>You should see something like:</p> <div class="code"> <pre><code>java version &quot;1.7.0_45&quot; Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)</code></pre></div> <p>If the version is 1.6.blah, this problem can be solved by updating your Java version to 1.7 or later. If you have already done so and are still getting the error, see below.</p> <p>To update Java on Ubuntu, type:</p> <div class="code"> <pre><code>sudo apt-get update sudo apt-get install openjdk-7-jdk</code></pre></div> <p>This will install OpenJDK. If you prefer Oracle's JDK, follow the instructions <a href="https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get">here</a> instead.</p> <p>To update on other systems, go <a href="https://java.com/en/download/index.jsp">here</a> (preferred) or <a href="https://java.com/en/download/index.jsp">here</a> and follow the instructions for your particular system.</p> <p><strong>I've installed 1.7 but it is not the default</strong></p> <p>If you have already upgraded Java, but you still get the major.minor error, the problem is probably that the default version is not pointing to it.</p> <p>For Ubuntu, you can fix this with the command below:</p> <div class="code"> <pre><code>sudo update-alternatives --config java</code></pre></div> <p>Which will give a list similar to that shown below (but with 1.6 selected), that will allow you to specify which version of Java runs by default:</p> <div class="code"> <pre><code>There are 2 choices for the alternative java (providing /usr/bin/java). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/jvm/java-7-oracle/jre/bin/java 1062 auto mode 1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode 2 /usr/lib/jvm/java-7-oracle/jre/bin/java 1062 manual mode Press enter to keep the current choice[*], or type selection number:</code></pre></div> <p>For Windows and Mac, the latest installed version should be set to default. If you have trouble with this, you will need to find the path to the latest version and add this to the front of your PATH environment variable OR in the command line of the ModelGUI executable itself.</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-1015980/unsupported-major-minor-version-51-0">Unsupported major.minor version 51.0</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-841031#post-2007523</guid>
				<title>Re: Error when installed in C:\Program Files</title>
				<link>http://mgui.wikidot.com/forum/t-841031/error-when-installed-in-c:program-files#post-2007523</link>
				<description></description>
				<pubDate>Mon, 07 Apr 2014 07:36:45 +0000</pubDate>
				<wikidot:authorName>typically</wikidot:authorName>				<wikidot:authorUserId>356119</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for posting this Jesse!</p> <p>For a brief description of logging and init files:</p> <p><a href="http://mgui.wikidot.com/user-manual#toc35">http://mgui.wikidot.com/user-manual#toc35</a></p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-841031/error-when-installed-in-c:program-files">Error when installed in C:\Program Files</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-841031#post-2007266</guid>
				<title>Error when installed in C:\Program Files</title>
				<link>http://mgui.wikidot.com/forum/t-841031/error-when-installed-in-c:program-files#post-2007266</link>
				<description></description>
				<pubDate>Sun, 06 Apr 2014 22:16:00 +0000</pubDate>
				<wikidot:authorName>Jesse</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I am a user who ran into the following error after installing ModelGUI in C:\Program Files:</p> <div class="code"> <pre><code>C:\Program Files\mgui-1.0.21-alpha&gt;java -Djava.library.path=bin\amd64 -Xmx2000m -classpath .;*;lib;lib\* mgui.interfaces.exec.MguiStart 2014.03.15 06:32:41 EDT: Error initializing ar.model environment from ’C:\Program Files\mgui-1.0.21 -alpha\init\mgui.default.init’ 2014.03.15 06:32:41 EDT: Fatal error: Could not initialize InterfaceEnvironment.</code></pre></div> <p>Windows is likely giving a permission error because it is trying to write a log file in Program Files. There are 3 ways to fix this, starting with the most recommended:</p> <p>1. Move everything to a another folder where there are no permission issues. A folder somewhere in &quot;My Documents&quot; should work without issue.</p> <p>2. Look in C:\Program Files\mgui-1.0.21-alpha\init for a file called &quot;mgui.default.init.&quot; Use a text editor (e.g., Notepad) to edit this file with the two following changes:</p> <p>a. Put a &quot;#&quot; in front of the line &quot;setLogFileAndConsole mgui_session&quot;<br /> b. Type on the next line &quot;setLogConsole&quot;</p> <p>This will prevent the program from trying to print a log file.</p> <p>3. Run the bat file, shortcut, or command prompt as an Administrator.</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-841031/error-when-installed-in-c:program-files">Error when installed in C:\Program Files</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mgui.wikidot.com/forum/t-837606#post-2004291</guid>
				<title>Hints for posting in this sub-forum</title>
				<link>http://mgui.wikidot.com/forum/t-837606/hints-for-posting-in-this-sub-forum#post-2004291</link>
				<description></description>
				<pubDate>Wed, 02 Apr 2014 13:27:42 +0000</pubDate>
				<wikidot:authorName>typically</wikidot:authorName>				<wikidot:authorUserId>356119</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>A few hints for posting on this sub-forum:</p> <p>1. This forum is for both users and developers. Please specify which you are, as it can help in formulating an appropriate response.</p> <p>2. <strong>Always</strong> state the ModelGUI version you were using when the issue was encountered. This especially important because the code is constantly being updated (read: improved), and the solution may already have been committed to a newer issue. It is also very useful for developers to identify and track bugs.</p> <p>3. Exceptions, errors, and warnings are text printed to the console, which give information about program execution and problems encountered therein. In brief:</p> <p>a. An <strong>exception</strong> is a Java <a href="http://stackoverflow.com/questions/3988788/what-is-a-stack-trace-and-how-can-i-use-it-to-debug-my-application-errors">stack trace</a>, which is distinguished by being a long list of lines which trace back program execution through the Java classes that are being executed. Stack traces are useful mostly for developers, but it is also very useful for users to post these here. It will look something like this:</p> <div class="code"> <pre><code>Exception in thread &quot;main&quot; java.lang.NullPointerException: at SomeClass.thirdMethod(SomeClass.java:15) at SomeClass.secondMethod(SomeClass.java:11) at SomeClass.firstMethod(SomeClass.java:7)</code></pre></div> <p>b. <strong>Errors</strong> and <strong>warnings</strong> are produced by the ModelGUI to indicate a problem, without burdening the console with long stack traces.</p> <p>4. There are different levels of logging which determine what gets printed to the console or to a log file (see <a href="http://mgui.wikidot.com/user-manual#toc35">this description</a>). If something is going wrong but you are not getting an error or exception, you may need to change the init file (typically &quot;init/mgui.{os}.init&quot;) to reflect a more verbose level of logging, and ensure it is being sent to the console. The most verbose option is:</p> <div class="code"> <pre><code># set logging setLogFileAndConsole mgui_session setLoggingType debug</code></pre></div> <p>..which will write to both the console and a log file (located in the &quot;logs&quot; subdirectory), and will write everything, including all stack traces.</p> <p>5. You can use the terminal window used to run your ModelGUI session to retrieve log output, or you can add a Console Window to one of your tabs in the program itself. Errors and exceptions will show up in red in this window, and can be copied using Ctrl-C.</p> <p>6. Try to use the &quot;code&quot; buttons in the edit window to ensure your exceptions, code, etc. is encapsulated in a code block. This makes your post much more readable. Additionally, Wikidot provides a rich selection of formatting tools; feel free to use these to make your post easier to read, and respond to.</p> <br/>Forum category: <a href="http://mgui.wikidot.com/forum/c-110218">ModelGUI User Forum / Java/ModelGUI Exceptions</a><br/>Forum thread: <a href="http://mgui.wikidot.com/forum/t-837606/hints-for-posting-in-this-sub-forum">Hints for posting in this sub-forum</a>
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>