<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel</title>
    <description>The latest articles on DEV Community by Daniel (@dannfn).</description>
    <link>https://dev.to/dannfn</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F317302%2F01745878-a62d-4ace-b652-548dd043dcfd.jpg</url>
      <title>DEV Community: Daniel</title>
      <link>https://dev.to/dannfn</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dannfn"/>
    <language>en</language>
    <item>
      <title>Installation of Apache Tomcat for OOP with Tecla</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Mon, 14 Dec 2020 05:44:18 +0000</pubDate>
      <link>https://dev.to/dannfn/installation-of-apache-tomcat-for-oop-with-tecla-2m09</link>
      <guid>https://dev.to/dannfn/installation-of-apache-tomcat-for-oop-with-tecla-2m09</guid>
      <description>&lt;p&gt;Well now it's time to talk about the practices using java for web applications. first of all we are going to need a server to run our developed apps, so in this post i will explain how to install apache tomcat for that purpose.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Download.
&lt;/h2&gt;

&lt;p&gt;You can download the latest stable version of apache in &lt;a href="https://tomcat.apache.org/"&gt;this link&lt;/a&gt; in the download section (the latest stable version is the one below the "beta" version), in this case, and in this time, the stable version is the 9.0.41. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3TvS9O4J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/x3f8erk08a7yhxxhgxi6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3TvS9O4J--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/x3f8erk08a7yhxxhgxi6.png" alt="Apache tomcat home" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hcnffdEr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/l4q2rdod4pzohom1eeoz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hcnffdEr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/l4q2rdod4pzohom1eeoz.png" alt="apache tomcat download section" width="527" height="590"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In this page you will select the zip file that fits with your type of OS in the section of "Binary distributions &amp;gt; Core" , in my case, I will download the file "64-bit windows zip". &lt;/p&gt;

&lt;p&gt;Configuring the apache server with the zip file is easier than configuring the executable, and if you don't need it anymore in the future, you can just delete the extracted files instead of fighting with the [un]installer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3TofoB9T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ulrlraj6evr38kyndr7f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3TofoB9T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/ulrlraj6evr38kyndr7f.png" alt="Apache Tomcat 9.0.41 page" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Installation.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Substep 1:&lt;/strong&gt; Once you have the zip file downloaded in your coputer, go to the "Program Files [x86 for 32 bits]" folder on your computer and add a new folder called Apache.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--d06m7ayc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/v80aihhwj5kjdom84i41.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d06m7ayc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/v80aihhwj5kjdom84i41.png" alt='new "Apache" folder' width="880" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 2:&lt;/strong&gt; Now unzip the file that you downloaded before, delete the zip file, move the unzipd folder to the "Apache" folder previously created, and there you have, Apache tomcat is now installed in your computer.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ov_dBFNN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mhsfwtrxknsi72tndpuu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ov_dBFNN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mhsfwtrxknsi72tndpuu.png" alt="Unzipped apache tomcat file" width="880" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8EUBqa6l--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rrxsl8rjjnwb7hvel21d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8EUBqa6l--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rrxsl8rjjnwb7hvel21d.png" alt="Installation finished" width="880" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Environment variables Configuration.
&lt;/h2&gt;

&lt;p&gt;Now it's time for the configuration of the environment variables to ease the use of the server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 1:&lt;/strong&gt; On your keyboard press the "Win"+"Q" keys to open the search bar and search for the "environment variables" ("variables de entorno") and then click open.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xu7myhLF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2v1q18d5ya6py8as2d30.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xu7myhLF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2v1q18d5ya6py8as2d30.png" alt="Windows search bar" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 2:&lt;/strong&gt; Once the "System properties" windows appear click the "environmental variables" button.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3zyZBnKi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/srwhgashjoidvr30ppj6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3zyZBnKi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/srwhgashjoidvr30ppj6.png" alt='"System properties" window' width="408" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once again we will mess up with the "CLASSPATH" environment variables, besides of the creation of a new envirnment variable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 3:&lt;/strong&gt; First, we need to add a new environment variable with the following values.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;variable&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;TOMCAT_HOME&lt;/td&gt;
&lt;td&gt;the route of installation of the Server&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cgzBbW1x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mw05pjyufqig06v10c83.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cgzBbW1x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mw05pjyufqig06v10c83.png" alt='"Environment variables" window' width="615" height="585"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And when you are done, click the "Ok" button.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BU27LyYi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/dajifww74f7xwujiuvee.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BU27LyYi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/dajifww74f7xwujiuvee.png" alt="Alt Text" width="653" height="165"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 4:&lt;/strong&gt; Now it's time to edit the "CLASSPATH" variable, click it twice from the list of variables, and at the end of the value of the variable put a semicolon (;) to separate the old values from the new one. Now add the value described in the table below. Once finished click "Ok" to exit the editor, then "Ok" again to exit the "Environment variables" window and once again to exit the "System properties" window.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;variable&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CLASSPATH&lt;/td&gt;
&lt;td&gt;%TOMCAT_HOME%\lib*&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--n-n7AREs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/fyxe5oqmsba90cthbhr1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--n-n7AREs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/fyxe5oqmsba90cthbhr1.png" alt='"Environment variables" window' width="618" height="585"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9MlWDbGF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/wfjalfvhldhmfccoav93.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9MlWDbGF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/wfjalfvhldhmfccoav93.png" alt='"Edit CLASSPATH variable" window' width="653" height="165"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;and that's all, now you have configured Apache tomcat for your use, adding the value to the "CLASSPATH" variable will let you use the tools of the libraries from Apache Tomcat to develop your web apps.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>java</category>
      <category>beginners</category>
      <category>ipn</category>
    </item>
    <item>
      <title>Installation of Java 3D for OOP with Tecla</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Fri, 27 Nov 2020 22:31:22 +0000</pubDate>
      <link>https://dev.to/dannfn/installation-of-java-3d-for-oop-with-tecla-22a4</link>
      <guid>https://dev.to/dannfn/installation-of-java-3d-for-oop-with-tecla-22a4</guid>
      <description>&lt;p&gt;Now continuing with the series of posts. In this occasion I'll explain the "correct" (that worked for me after many many fails) installation of java 3D, and its configuration of the environmental variables to avoid the use of the local temporary variable CLASSPATH every time you need to compile a new program.&lt;/p&gt;

&lt;p&gt;It's important to have only the installation that fits with your OS architecture to avoid compilation errors and exceptions with java 3D. So if you have an old installation of java that usually installs both 32 and 64 bits versions (for windows x64) you must uninstall the 32 bits version.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Download.
&lt;/h2&gt;

&lt;p&gt;As same as the previous post you need to have an Oracle Account to download this product, again you can register &lt;a href="https://profile.oracle.com/myprofile/account/create-account.jspx"&gt;here&lt;/a&gt; and download the installer for Java 3D &lt;a href="https://www.oracle.com/java/technologies/java-archive-downloads-java-client-downloads.html#java3d-1.5.1-oth-JPR"&gt;here&lt;/a&gt;, once you entered the page, select the one that fits with your OS (amd64 for x64 64 bits or i586 for x86 32 bits).&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MOss5W7s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/cfmm394beeswp98cm0qw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MOss5W7s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/cfmm394beeswp98cm0qw.png" alt="Java 3D download section" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Installation.
&lt;/h2&gt;

&lt;p&gt;Now that you have the installer in your computer, run it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 1:&lt;/strong&gt; Accept the licence agreement. &lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u_QP-5I4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/dssnyf68nx9ahby5lzz0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u_QP-5I4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/dssnyf68nx9ahby5lzz0.png" alt="Licence agreement" width="496" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 2:&lt;/strong&gt; The Installer will show you where the new libraries will be stored.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ds5jiKru--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/q2uy66lmqr2menlistf9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ds5jiKru--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/q2uy66lmqr2menlistf9.png" alt="Directory of installation" width="497" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 3:&lt;/strong&gt; Wait till the installer finishes the process and click "Close" to exit.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FG31cxx9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5bfm863nniceag3ifjpg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FG31cxx9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/5bfm863nniceag3ifjpg.png" alt='"close to finish" window' width="495" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Environment variables Configuration.
&lt;/h2&gt;

&lt;p&gt;Now lets start with the most important part of the installation, the configuration of the environment variables. This will help you to simplify the compilation process of your practices so that way you don't need to write a very long command adding the local temporary CLASSPATH variable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 1:&lt;/strong&gt; To start press the "Windows" + "Q" keys on your keyboard to open the search bar, type the word "variable" and select the "Environment variable" option to open its configuration.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CWqKVLNi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vzmz4m6qjyah64ha9461.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CWqKVLNi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vzmz4m6qjyah64ha9461.png" alt="Windows search bar" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 2:&lt;/strong&gt; Once the "System properties" windows appear click the "environmental variables" button.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3zyZBnKi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/srwhgashjoidvr30ppj6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3zyZBnKi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/srwhgashjoidvr30ppj6.png" alt='"System properties" window' width="408" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The variables that we're going to edit this time are the variable "Path" of your user (or the "Path" variable of "system variables" wichever you configured in the last post), and the variable "CLASSPATH" created in te previous post, the values you are going to add are the following.&lt;/p&gt;


&lt;center&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;variable&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Path&lt;/td&gt;
&lt;td&gt;C:\Program Files\Java\Java3D\1.5.1\bin&lt;br&gt;C:\Program Files\Java\Java3D\1.5.1\lib\ext&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CLASSPATH&lt;/td&gt;
&lt;td&gt;C:\Program Files\Java\Java3D\1.5.1\lib\ext*&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;/center&gt;

&lt;p&gt;&lt;strong&gt;Substep 3:&lt;/strong&gt; Click twice the variable "Path" that you are going to edit and add the values described in the table, once you are done click the "Ok" button to exit the variabe editor.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xGpxcuAE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/dp9n63lu4jn4fuv75x0f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xGpxcuAE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/dp9n63lu4jn4fuv75x0f.png" alt='"Environment variables" window' width="616" height="582"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pQjadryG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/jexr5cp2pvnwo8nkqs0f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pQjadryG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/jexr5cp2pvnwo8nkqs0f.png" alt='"Edit path envoronment variable" window' width="525" height="499"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 4:&lt;/strong&gt; To edit the "CLASSPATH" variable, click it twice and at the end of the value of the variable put a semicolon (;) to separate the old values from the new one. Now add the value described in the table. Once finished click "Ok" to exit the editor, then "Ok" again to exit the "Environment variables" window and once again to exit the "System properties" window.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--1hZ9EXuQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/a5v5cmx32blt6x5uvwa4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--1hZ9EXuQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/a5v5cmx32blt6x5uvwa4.png" alt='"Edit CLASSPATH environment variable" window' width="648" height="163"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And That's all, now you can write and compile java 3D programs try it by copying the code of any example of &lt;a href="http://www.java3d.org/samples.html"&gt;this site&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>java</category>
      <category>beginners</category>
      <category>ipn</category>
    </item>
    <item>
      <title>Installation of Java for OOP with Tecla </title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Fri, 27 Nov 2020 22:17:55 +0000</pubDate>
      <link>https://dev.to/dannfn/installation-of-java-for-opp-with-tecla-3260</link>
      <guid>https://dev.to/dannfn/installation-of-java-for-opp-with-tecla-3260</guid>
      <description>&lt;p&gt;So... Fisrt things first, if you are a student of ESCOM and you are going to take the opp class with Tecla then this series is for you.&lt;/p&gt;

&lt;p&gt;This is the first post of a series of 4 to configure all you need to do your oop practices. This series is intended for windows users as is the OS that I use.&lt;/p&gt;

&lt;p&gt;During the course, Tecla is not going to teach how to install Java, Java 3D, apache tomcat or MySQL anytime, so i'll try to explain the process that at least worked for me and my classmates. Also the programs will be writen in text editors, you can use an IDE but at last that will make your work harder to integrate, so keep it as simple as possible.&lt;/p&gt;

&lt;p&gt;To begin with, I'll explain how to install the Java runtime environment (JRE) and the Java Developmet Kit (JDK).&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Download.
&lt;/h2&gt;

&lt;p&gt;To download any Oracle product you have to create an Oracle acount and you can create one by clicking &lt;a href="https://profile.oracle.com/myprofile/account/create-account.jspx"&gt;this link&lt;/a&gt;, you can fill the information required as show the image below.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2KOR2DEU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/6d76vqrgkhi7762gcd37.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2KOR2DEU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/6d76vqrgkhi7762gcd37.png" alt="Oracle registration window" width="778" height="985"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once the registration is completed you just need to go to &lt;a href="https://www.oracle.com/mx/java/technologies/javase-downloads.html"&gt;this site&lt;/a&gt; and scroll down to the "Java SE 8" section, click the download hyperlink and in the redirected page select the installer that fits with your computer (windows x64 in my case), accept the "Oracle Technology Network License Agreement for Oracle Java SE", and wait till the download finish.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rKShJ517--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/jthoh3o7t50n871380oo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rKShJ517--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/jthoh3o7t50n871380oo.png" alt="Java SE 8 download sectioan" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ngoEjHQe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/uwmqlgzc4mh6fosuazzr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ngoEjHQe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/uwmqlgzc4mh6fosuazzr.png" alt="Selection of the type of installer" width="880" height="560"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Installation.
&lt;/h2&gt;

&lt;p&gt;Once you have the installer in your computer, run it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 1:&lt;/strong&gt; Start the installation by clicking "next" in this window.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--pBDh27T9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/w8x89szvqxoij0a2ot66.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pBDh27T9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/w8x89szvqxoij0a2ot66.png" alt="Java wizard installer" width="690" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 2:&lt;/strong&gt; Select the features to be installed and click "next".&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OTop7JFl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2bhmkw2kklin6bbnby7s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OTop7JFl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2bhmkw2kklin6bbnby7s.png" alt="Selection of features to be installed" width="493" height="372"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 3:&lt;/strong&gt; wait till the process finish.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oCzsYVOQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3j5gm0lmy8qwmntttt6h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oCzsYVOQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/3j5gm0lmy8qwmntttt6h.png" alt="progress bar of configuration of the wizard" width="491" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 4:&lt;/strong&gt; Once this windows is shown select where where you want to install the JDK (to ease further installations of some complements as Java 3D keep the default installation route).&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--maxDn1pV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/w6i51sv7kps0kg29se5e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--maxDn1pV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/w6i51sv7kps0kg29se5e.png" alt="Selection of the installation directory" width="692" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 5:&lt;/strong&gt; Wait till the installation finish.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8Nm-VqNO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/cy7mf5uqvbqh32b63rb5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8Nm-VqNO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/cy7mf5uqvbqh32b63rb5.png" alt="Progress bar of installation" width="692" height="376"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 6:&lt;/strong&gt; And click "Close" to exit.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3O_PD1vy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/h25vuc147q6rqwxqru5l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3O_PD1vy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/h25vuc147q6rqwxqru5l.png" alt='"Close to finish" window' width="490" height="371"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This version of the JDK includes the JRE so you don't need to download any extra file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Environment variables configuration.
&lt;/h2&gt;

&lt;p&gt;To finish configure java in your computer you need to create or edit some environment variables so you can work with any tool to compile and execute your programs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 1:&lt;/strong&gt; On your keyboard press the "Win"+"Q" keys to open the search bar and search for the "environment variables" ("variables de entorno") and then click open.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xu7myhLF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2v1q18d5ya6py8as2d30.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xu7myhLF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/2v1q18d5ya6py8as2d30.png" alt="Windows search bar" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 2:&lt;/strong&gt; Once this windows opens click the "environmet variables" ("variables de entorno") button.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4mL59vbG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/c9843y4qllh1l02o5alj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4mL59vbG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/c9843y4qllh1l02o5alj.png" alt='"System properties" window' width="408" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 3:&lt;/strong&gt; Wait till the next window appears and to add a new environment variable click the "New" option.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cgzBbW1x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mw05pjyufqig06v10c83.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cgzBbW1x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/mw05pjyufqig06v10c83.png" alt='"Environment variables" window' width="615" height="585"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Substep 4:&lt;/strong&gt; In the fields that appear you must to insert the next values and then click "OK". &lt;/p&gt;


&lt;center&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;variable&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;JAVA_HOME&lt;/td&gt;
&lt;td&gt;the route of installation of the JDK&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;/center&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--d7pTT_OX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/dsfeix6nqi7rxr4rcrjd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--d7pTT_OX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/dsfeix6nqi7rxr4rcrjd.png" alt='"New environment variable" window' width="670" height="618"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Add another environment variables as before with the next values.&lt;/p&gt;


&lt;center&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;variable&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;JRE_HOME&lt;/td&gt;
&lt;td&gt;%JAVA_HOME%\jre&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CLASSPATH&lt;/td&gt;
&lt;td&gt;.;%JAVA_HOME%\lib\*;%JRE_HOME%\lib\*&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;/center&gt;

&lt;p&gt;&lt;strong&gt;Substep 5:&lt;/strong&gt; Now we need to add some values to the variable "Path" if your computer have a single user or your profile is the only one that need the development tools, then you can add the next values to the variable "Path" of your user as shown in the image below, otherwise you can add them to the System variable "Path".&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dJhqYPug--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/qgt3srroxh777p52gbkn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dJhqYPug--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/qgt3srroxh777p52gbkn.png" alt='"Environment variables" window' width="612" height="581"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;once you click twice that variable a window will show and you have to add the following values to the list, first click on "New" then add one of the new values and repeat the process for the rest. &lt;/p&gt;


&lt;center&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;values&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;%JAVA_HOME%\bin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;%JAVA_HOME%\lib&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;%JRE_HOME%\bin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;%JRE_HOME%\lib&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;/center&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0Wuttk_k--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vje1rzh5gy3d9dil7ido.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0Wuttk_k--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/vje1rzh5gy3d9dil7ido.png" alt='"Edit path environment variable" window' width="614" height="581"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Finally&lt;/strong&gt; Click "OK" on this window, an then click again "OK" on the window of the third point of this step, restart your computer and now you can start programming with java.&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>java</category>
      <category>beginners</category>
      <category>ipn</category>
    </item>
  </channel>
</rss>
