<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../otp_doc.css" type="text/css"> <title>Erlang -- Installation Verification</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="../pdf/otp-system-documentation-5.7.5.pdf">PDF</a><br><a href="../index.html">Top</a></small><p><strong>Installation Guide</strong><br><strong>User's Guide</strong><br><small>Version 5.7.5</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p> <ul class="flipMenu" imagepath="../js/flipmenu"> <li id="no" title="Installation" expanded="false">Installation<ul> <li><a href="install.html"> Top of chapter </a></li> <li title="Source"><a href="install.html#id2260135">Source</a></li> <li title="UNIX"><a href="install.html#id2258617">UNIX</a></li> <li title="Windows"><a href="install.html#id2252066">Windows</a></li> </ul> </li> <li id="loadscrollpos" title="Installation Verification" expanded="true">Installation Verification<ul> <li><a href="verification.html"> Top of chapter </a></li> <li title="UNIX"><a href="verification.html#id2258692">UNIX</a></li> <li title="Windows"><a href="verification.html#id2258740">Windows</a></li> </ul> </li> </ul> </div></div> <div id="content"> <div class="innertube"> <h1>2 Installation Verification</h1> <p>This chapter is about verifying your installation by performing a few simple tests to see that your system is properly installed.</p> <h3><a name="id2258692">2.1 UNIX</a></h3> <ul> <li> <p>Start Erlang/OTP from the command line,</p> <div class="example"><pre> unix> erl</pre></div> <p>Expect the following output:</p> <div class="example"><pre> Erlang (BEAM) emulator version 5.0.1 [threads] Eshell V5.0.1 (abort with ^G) 1></pre></div> </li> <li> <p>Start the GS-based toolbar from the Erlang shell, </p> <div class="example"><pre> 1> <span class="bold_code">toolbar:start().</span></pre></div> <p>and check that the toolbar window pops up. </p> <p><strong>Note:</strong> The trailing full stop (<span class="code">"."</span>) is an end marker for all commands in the Erlang shell, and must be entered for a command to begin execution.</p> </li> <li> <p>Exit by entering the command <span class="code">halt()</span>,</p> <div class="example"><pre> 2> <span class="bold_code">halt().</span></pre></div> <p>which should end both the toolbar window and the command line window. </p> </li> </ul> <h3><a name="id2258740">2.2 Windows</a></h3> <ul> <li> <p>Start Erlang/OTP by double-clicking on the Erlang shortcut icon on the desktop.</p> <p>Expect a command line window to pop up with the following output,</p> <div class="example"><pre> Erlang (BEAM) emulator version 5.0.1 [threads] Eshell V5.0.1 (abort with ^G) 1></pre></div> </li> <li> <p>Start the GS-based toolbar from the Erlang shell, </p> <div class="example"><pre> 1> <span class="bold_code">toolbar:start().</span></pre></div> <p>and check that the toolbar window pops up. </p> <p><strong>Note:</strong> The trailing full stop (<span class="code">"."</span>) is an end marker for all commands in the Erlang shell, and must be entered for a command to begin execution.</p> </li> <li> <p>Exit by entering the command <span class="code">halt()</span>,</p> <div class="example"><pre> 2> <span class="bold_code">halt().</span></pre></div> <p>which should end both the toolbar window and the command line window. </p> </li> </ul> </div> <div class="footer"> <hr> <p>Copyright © 1997-2010 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>