<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">El 22/02/13 00:27, Bill Piazzetta
      escribió:<br>
    </div>
    <blockquote
cite="mid:CAAecjJJenuR791evk5RC0Wm4oKPWYhcUE7u8tJrnQoFOsmvcVg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello there! 
        <div><br>
        </div>
        <div>Trying to get a java program to work, typed everything
          correctly, click on compile, click on run, program doesn't
          run. Gives back an error message in the console that it can't
          find the class, or the file... Kinda think I must be missing
          something here because when I do the same thing with NetBeans
          if the code is OK it just runs... Am I missing some plugin or
          configuration...?<br clear="all">
          <div><br>
          </div>
          -- <br>
          Bill Piazzetta<br>
          +55 21 8118-3742<br>
          <a moz-do-not-send="true"
            href="mailto:billpiazzetta@gmail.com">billpiazzetta@gmail.com</a><br>
        </div>
      </div>
    </blockquote>
    <br>
    Hi,<br>
    <br>
    I've found that if - as you should - you use a package other than
    the default one for your Java classes, you need to modify the run
    command on a project-by-project (even a file-by-file) basis.  The
    link below shows the Build properties for one of the files I've been
    playing with:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://dl.dropbox.com/u/52685983/geany-propiedades-del-proyecto.png">http://dl.dropbox.com/u/52685983/geany-propiedades-del-proyecto.png</a><br>
    <br>
    You will also see that the build command is altered to use 'javac -d
    . filename'.  This will create the necessary directories if they
    don't already exist and put the .class file in the correct one when
    the file is built.  This can be the same for all projects.<br>
    <br>
    (You also have to make special arrangements to run Applets, but I
    don't show that as it's off-topic and covered elsewhere if you
    Google for it)<br>
    <br>
    I'm a newbie too, so there may be better solutions.  I read all the
    docs, but couldn't find anything better that worked.  Which might
    reflect more on my understanding than on what is available.<br>
    <br>
    Hope this helps.<br>
    <br>
    <br>
    <br>
    Peter<br>
    <div class="moz-signature">-- <br>
      <b>Peter Bradley</b><br>
      <a href="http://www.peredur.net">peredur.net</a></div>
  </body>
</html>