<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    -----BEGIN PGP SIGNED MESSAGE-----<br>
    Hash: SHA1<br>
    <br>
    boas,<br>
    <br>
    obrigado pelas dicas Carlos, já consegui resolver embora não tenha
    usado o openjdk mas sim a versão que a Debian já descontinuou da
    Sun.<br>
    <br>
    cumps,<br>
    <br>
    RN<br>
    <br>
    On 05/02/2012 06:26 PM, Carlos Correia wrote:<br>
    <span style="white-space: pre;">&gt; Boas,<br>
      &gt;<br>
      &gt; Em 12-04-2012 14:44, rikhard escreveu:<br>
      &gt; &gt; boas,<br>
      &gt;<br>
      &gt; &gt; fiz há pouco o download do software
      [Modelo3IRSv2012_unix.sh] do portal das<br>
      &gt; &gt; finanças<br>
      &gt; &gt;
      <a class="moz-txt-link-freetext" href="https://www.portaldasfinancas.gov.pt/pt/main.jsp?body=/de/menuDownIRS.jsp">https://www.portaldasfinancas.gov.pt/pt/main.jsp?body=/de/menuDownIRS.jsp</a>
      mas<br>
      &gt; &gt; quando tento instalar dá-me erro:<br>
      &gt;<br>
      &gt; &gt; $ sh Modelo3IRSv2012_unix.sh<br>
      &gt; &gt; Starting Installer ...<br>
      &gt; &gt; Could not display the GUI. This application needs access
      to an X Server.<br>
      &gt; &gt;
      *******************************************************************<br>
      &gt; &gt; You can also run this application in console mode
      without<br>
      &gt; &gt; access to an X server by passing the argument -c<br>
      &gt; &gt;
      *******************************************************************<br>
      &gt;<br>
      &gt; &gt; wtf?!!!<br>
      &gt;<br>
      &gt; &gt; se correr com -c instala mas depois não corre, dá erros
      no log!<br>
      &gt;<br>
      &gt; Pelo erro, parece que não tens o X a correr ou que estás a
      usar um utilizador<br>
      &gt; que não tem acesso ao X.<br>
      &gt;<br>
      &gt;<br>
      &gt; &gt; Estou a usar Debian/#!CB testing/sid e quanto ao java
      que tenho instalado:<br>
      &gt;<br>
      &gt; &gt; $update-alternatives --display java<br>
      &gt; &gt; java - auto mode<br>
      &gt; &gt; link currently points to
      /usr/lib/jvm/java-6-openjdk/jre/bin/java<br>
      &gt; &gt; /usr/lib/jvm/java-6-openjdk/jre/bin/java - priority 1061<br>
      &gt; &gt; slave java.1.gz:
      /usr/lib/jvm/java-6-openjdk/jre/man/man1/java.1.gz<br>
      &gt; &gt; Current 'best' version is
      '/usr/lib/jvm/java-6-openjdk/jre/bin/java'<br>
      &gt;<br>
      &gt; &gt; Alguém sabe qual a versão de java a usar?<br>
      &gt; &gt; Os génios do portal tb podiam dar essa info lá....<br>
      &gt;<br>
      &gt;<br>
      &gt; Testei em ubuntu, e funcionou sem problemas, também com o
      openjdk (optei por não<br>
      &gt; criar os links para /usr/local/bin)...<br>
      &gt;<br>
      &gt; $ LC_ALL=C update-alternatives --display java<br>
      &gt; java - auto mode<br>
      &gt; link currently points to
      /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java<br>
      &gt; /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java - priority
      1061<br>
      &gt; slave java.1.gz:
      /usr/lib/jvm/java-6-openjdk-amd64/jre/man/man1/java.1.gz<br>
      &gt; Current 'best' version is
      '/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java'.<br>
      &gt;<br>
      &gt; $ java -version<br>
      &gt; java version "1.6.0_24"<br>
      &gt; OpenJDK Runtime Environment (IcedTea6 1.11.1)
      (6b24-1.11.1-4ubuntu2)<br>
      &gt; OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)<br>
      &gt;<br>
      &gt; &gt; Obrigado,<br>
      &gt;<br>
      &gt; &gt; RN<br>
      &gt;<br>
      &gt; &gt; --<br>
      &gt; &gt; "They who would give up an essential liberty for
      temporary security, deserve neither liberty or security."<br>
      &gt; &gt; Benjamin Franklin<br>
      &gt;<br>
      &gt; &gt; Always use Free Software/Open Source Software
      (<a class="moz-txt-link-freetext" href="http://www.gnu.org">http://www.gnu.org</a>)<br>
      &gt;<br>
      &gt; &gt; GNU/Linux is an operating system, entirely free, as in
      Freedom/Livre<br>
      &gt; &gt; <a class="moz-txt-link-freetext" href="http://www.tuxradar.com/newtolinux">http://www.tuxradar.com/newtolinux</a><br>
      &gt;<br>
      &gt; &gt; Open source software alternatives to well-known
      commercial software - <a class="moz-txt-link-freetext" href="http://www.osalt.com/">http://www.osalt.com/</a> *
      <a class="moz-txt-link-freetext" href="http://www.linuxalt.com/">http://www.linuxalt.com/</a><br>
      &gt;<br>
      &gt; &gt; Firefox / Thunderbird - Rediscover the web -
      <a class="moz-txt-link-freetext" href="http://www.mozilla.org/">http://www.mozilla.org/</a><br>
      &gt;<br>
      &gt; &gt; Please don´t send me m$-office attachments, use instead
      an open file format such as the one provided by LibreOffice /
      OpenOffice.org or PDF (<a class="moz-txt-link-freetext" href="https://www.libreoffice.org/">https://www.libreoffice.org/</a> *
      <a class="moz-txt-link-freetext" href="http://pt.openoffice.org/">http://pt.openoffice.org/</a> * <a class="moz-txt-link-freetext" href="http://www.odfalliance.org/">http://www.odfalliance.org/</a>)<br>
      &gt; &gt; Os meus Blogs - <a class="moz-txt-link-freetext" href="http://agrandevaga.blogspot.com/">http://agrandevaga.blogspot.com/</a><br>
      &gt; &gt; GnuPG/PGP - 1024D/AD29C160 -
      <a class="moz-txt-link-freetext" href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0xedec8399ad29c160">http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0xedec8399ad29c160</a><br>
      &gt;<br>
      &gt;<br>
      &gt;<br>
      &gt; &gt; _______________________________________________<br>
      &gt; &gt; Ansol-geral mailing list<br>
      &gt; &gt; <a class="moz-txt-link-abbreviated" href="mailto:Ansol-geral@listas.ansol.org">Ansol-geral@listas.ansol.org</a><br>
      &gt; &gt; <a class="moz-txt-link-freetext" href="http://listas.ansol.org/mailman/listinfo/ansol-geral">http://listas.ansol.org/mailman/listinfo/ansol-geral</a><br>
      &gt;<br>
      &gt;<br>
      &gt;<br>
      &gt; _______________________________________________<br>
      &gt; Ansol-geral mailing list<br>
      &gt; <a class="moz-txt-link-abbreviated" href="mailto:Ansol-geral@listas.ansol.org">Ansol-geral@listas.ansol.org</a><br>
      &gt; <a class="moz-txt-link-freetext" href="http://listas.ansol.org/mailman/listinfo/ansol-geral">http://listas.ansol.org/mailman/listinfo/ansol-geral</a></span><br>
    <br>
    - -- <br>
    "They who would give up an essential liberty for temporary security,
    deserve neither liberty or security."<br>
    Benjamin Franklin<br>
    <br>
    Always use Free Software/Open Source Software (<a class="moz-txt-link-freetext" href="http://www.gnu.org">http://www.gnu.org</a>)<br>
    <br>
    GNU/Linux is an operating system, entirely free, as in Freedom/Livre<br>
    <a class="moz-txt-link-freetext" href="http://www.tuxradar.com/newtolinux">http://www.tuxradar.com/newtolinux</a><br>
    <br>
    Open source software alternatives to well-known commercial software
    - <a class="moz-txt-link-freetext" href="http://www.osalt.com/">http://www.osalt.com/</a> * <a class="moz-txt-link-freetext" href="http://www.linuxalt.com/">http://www.linuxalt.com/</a><br>
    <br>
    Firefox / Thunderbird - Rediscover the web - <a class="moz-txt-link-freetext" href="http://www.mozilla.org/">http://www.mozilla.org/</a><br>
    <br>
    Please don´t send me m$-office attachments, use instead an open file
    format such as the one provided by LibreOffice / OpenOffice.org or
    PDF (<a class="moz-txt-link-freetext" href="https://www.libreoffice.org/">https://www.libreoffice.org/</a> * <a class="moz-txt-link-freetext" href="http://pt.openoffice.org/">http://pt.openoffice.org/</a> *
    <a class="moz-txt-link-freetext" href="http://www.odfalliance.org/">http://www.odfalliance.org/</a>)<br>
    Os meus Blogs - <a class="moz-txt-link-freetext" href="http://agrandevaga.blogspot.com/">http://agrandevaga.blogspot.com/</a><br>
    GnuPG/PGP - 1024D/AD29C160 -
    <a class="moz-txt-link-freetext" href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0xedec8399ad29c160">http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0xedec8399ad29c160</a><br>
    -----BEGIN PGP SIGNATURE-----<br>
    Version: GnuPG v1.4.11 (GNU/Linux)<br>
    Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>
    <br>
    iQEcBAEBAgAGBQJPouy4AAoJEIQtyodl3N082hkIAKgvx6kqtJwUeNENvqADPpL5<br>
    C5kO7SkacNymqMP8pDN8jMJrNvV6al3VERaH+Y6cAZsZQ7pHURF04W6+NpBVkU99<br>
    nFAe8yL+HyFDfQNemOGykAMCMqK1i+1dh3DDK/aF7mNQr78jVAR3M3etM4UPtcbh<br>
    Yq0V0DkXClosFatUQ7obaihp7trHAQs037bITkIma6YTNBZWs8aio8mtKtTFJ4YL<br>
    mhOltKUFes2NUf9XCJ4hfF2yYcSUkcRvVeIHJSzqd5+3iSR/R++RlVruu7kQJNya<br>
    I8o9llRnS9jyH8lJTtXkuiBKFPNLdRC+FedIV2H15K8zbnnL3TAuco7wFx5Z2WI=<br>
    =3cAX<br>
    -----END PGP SIGNATURE-----<br>
    <br>
  </body>
</html>