<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java Question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181270#M9529</link>
    <description>Problem Solved. I wasn't in the directory where my HelloWorld.java was in. OOps! Thanks to all who responded. &lt;BR /&gt;&lt;BR /&gt;Kyle</description>
    <pubDate>Tue, 03 Feb 2004 11:20:08 GMT</pubDate>
    <dc:creator>Kyle D. Harris</dc:creator>
    <dc:date>2004-02-03T11:20:08Z</dc:date>
    <item>
      <title>Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181256#M9515</link>
      <description>I'm setting up a server and in a step i got off a web page i'm going by it says this:&lt;BR /&gt;&lt;BR /&gt;Compile the source into a class file as follows:&lt;BR /&gt;&lt;BR /&gt;javac -classpath /usr/local/jakarta-tomcat/common/lib/servlet.jar HelloWorld.java&lt;BR /&gt;This will create a file called HelloWorld.class. Copy the HelloWorld.class file to the /home/tomcat/your_application/WEB-INF/classes directory.&lt;BR /&gt;&lt;BR /&gt;*** When i do this i get a "bash: javac: command not found "...... why is this? The site i'm going off of is spefiically for configuring apache and tomcat for RH 9.0 which i have. Thanks ..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 09:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181256#M9515</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-02-03T09:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181257#M9516</link>
      <description>I just read something on a board..  Do i need the Java 2 sdk installed to be able to do this javac command?</description>
      <pubDate>Tue, 03 Feb 2004 09:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181257#M9516</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-02-03T09:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181258#M9517</link>
      <description>At the very least it appears you need Java Run Time which is a subset of JDK.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 03 Feb 2004 09:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181258#M9517</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-03T09:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181259#M9518</link>
      <description>I'm having alot of trouble trying to find somewhere to download this Java 2 SDK ... I'm looking around on sun.java.com but haven't seen anything for RH 9.0 yet. If anybody can send a direct link that'd be great. I'll keep looking. Thanks.</description>
      <pubDate>Tue, 03 Feb 2004 09:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181259#M9518</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-02-03T09:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181260#M9519</link>
      <description>Yes,&lt;BR /&gt;you need java run time to interpret java code as a client, and java sdk to compile your own java progs.&lt;BR /&gt;J</description>
      <pubDate>Tue, 03 Feb 2004 09:36:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181260#M9519</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-02-03T09:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181261#M9520</link>
      <description>&lt;A href="http://java.sun.com/j2se/1.4.2/download.html" target="_blank"&gt;http://java.sun.com/j2se/1.4.2/download.html&lt;/A&gt;&lt;BR /&gt;Go for sdk part.&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Tue, 03 Feb 2004 09:38:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181261#M9520</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2004-02-03T09:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181262#M9521</link>
      <description>I just did a "find / -name *sdk* " and i came up with 'j2sdk1.4.1' which i have already installed. &lt;BR /&gt;&lt;BR /&gt;If that is already installed then what part do i still need? The JRE download??? Thanks.</description>
      <pubDate>Tue, 03 Feb 2004 09:41:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181262#M9521</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-02-03T09:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181263#M9522</link>
      <description>Kyle, do you have a "javac" anywhere in that directory?&lt;BR /&gt; &lt;BR /&gt;If so, just add that directory to your PATH or type the full path name to "javac"&lt;BR /&gt; &lt;BR /&gt;Regards</description>
      <pubDate>Tue, 03 Feb 2004 10:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181263#M9522</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-03T10:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181264#M9523</link>
      <description>Hmm actually Mark, in that directory after j2sdk1.4.1/bin there is javac in there. I'll try putting it in my path.</description>
      <pubDate>Tue, 03 Feb 2004 10:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181264#M9523</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-02-03T10:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181265#M9524</link>
      <description>I'm not real experienced so correct me if I'm wrong but you mean like this:&lt;BR /&gt;&lt;BR /&gt;*prompt*# /usr/java/j2sdk1.4.1/bin/javac -classpath /usr/local/jakarta-tomcat/common/lib/servlet.jar HelloWorld.java&lt;BR /&gt;&lt;BR /&gt;?? Thanks for the help.</description>
      <pubDate>Tue, 03 Feb 2004 10:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181265#M9524</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-02-03T10:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181266#M9525</link>
      <description>After running what i posted in my last post, it paused for a second and gave this:&lt;BR /&gt;&lt;BR /&gt;error: cannon read:  HelloWorld.java&lt;BR /&gt;1 error&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 10:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181266#M9525</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-02-03T10:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181267#M9526</link>
      <description>Hello Kyle,&lt;BR /&gt;&lt;BR /&gt;to clarify some terminology. Java is a programming language starting from text source code, which is compiled to a bytecode format, which is then executed. If all you want to do is execute programs that other people already compiled you only need the part interpreting the bytecode. This is the so called runtime environment or JRE. If you want to compile text source code yourself you need a SDK (software developers kit). The SDK is a superset of the JRE, i.e. all the functionality of the JRE is also part of the SDK. &lt;BR /&gt;&lt;BR /&gt;Try to put the bin directory into your path for  ease of use. Using this will cut down the overlong commands you have now considerably.&lt;BR /&gt;&lt;BR /&gt;As for the last error you are getting, are you sure you have a HelloWorld.java in your current working directory?&lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Tue, 03 Feb 2004 11:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181267#M9526</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2004-02-03T11:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181268#M9527</link>
      <description>Kyle:&lt;BR /&gt;&lt;BR /&gt;Make sure that HelloWorld.java is located in the directory from which you are executing the javac command.  Also make sure that the permissions on the file give read access.  If HelloWorld.java is located somewhere else, you either need to cd to that directory before giving the javac command, or you need to add a -sourcepath option specifying where your source is located.  (Type javac -h to get more detail about command options.)&lt;BR /&gt;&lt;BR /&gt;Bruce&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 11:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181268#M9527</guid>
      <dc:creator>Bruce Copeland</dc:creator>
      <dc:date>2004-02-03T11:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181269#M9528</link>
      <description>in /etc/profile  or ~/.profile, Add:&lt;BR /&gt;&lt;BR /&gt;PATH=$PATH:/usr/java/j2sdk1.4.1/bin&lt;BR /&gt;export PATH&lt;BR /&gt;&lt;BR /&gt;I'd say you get the last error because you .java was not in the same dir that you issued you command.</description>
      <pubDate>Tue, 03 Feb 2004 11:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181269#M9528</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2004-02-03T11:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Java Question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181270#M9529</link>
      <description>Problem Solved. I wasn't in the directory where my HelloWorld.java was in. OOps! Thanks to all who responded. &lt;BR /&gt;&lt;BR /&gt;Kyle</description>
      <pubDate>Tue, 03 Feb 2004 11:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/java-question/m-p/3181270#M9529</guid>
      <dc:creator>Kyle D. Harris</dc:creator>
      <dc:date>2004-02-03T11:20:08Z</dc:date>
    </item>
  </channel>
</rss>

