Support JDK 1.5.

This only required one change, and it was in our example, not the actual code.  Thus I'll continue the august tradition of supporting Windows 98 (and Windows 95, if you have the right JDK 1.5 installer).

On Mac, this also buys OS X 10.4 through 10.7, including PowerPC, over 1.8.
3 files changed, 7 insertions(+), 4 deletions(-)

M nb-configuration.xml
M pom.xml
M src/main/java/com/ajtjp/geminiclient/Main.java
M nb-configuration.xml +1 -1
@@ 13,6 13,6 @@ You can copy and paste the single proper
 That way multiple projects can share the same settings (useful for formatting rules for example).
 Any value defined here will override the pom.xml file value but is only applicable to the current project.
 -->
-        <netbeans.hint.jdkPlatform>Liberica_JDK_8_Update_252</netbeans.hint.jdkPlatform>
+        <netbeans.hint.jdkPlatform>JDK_1.5_32-bit</netbeans.hint.jdkPlatform>
     </properties>
 </project-shared-configuration>

          
M pom.xml +2 -2
@@ 7,7 7,7 @@ 
     <packaging>jar</packaging>
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <maven.compiler.source>1.8</maven.compiler.source>
-        <maven.compiler.target>1.8</maven.compiler.target>
+        <maven.compiler.source>1.5</maven.compiler.source>
+        <maven.compiler.target>1.5</maven.compiler.target>
     </properties>
 </project>
  No newline at end of file

          
M src/main/java/com/ajtjp/geminiclient/Main.java +4 -1
@@ 27,7 27,10 @@ public class Main {
                 }
             }
         }
-        catch(IOException | InterruptedException ex) {
+        catch(IOException ex) {
+            System.err.println("error: " + ex.getMessage());
+        }
+        catch(InterruptedException ex) {
             System.err.println("error: " + ex.getMessage());
         }
     }