Im trying java with Fire for the first time and I don’t appear to be able to debug
In the console I see
2015-11-23 11:37:21.011 PM Fire[31648]: STDErr(
)
And having open Fire I can debug but the application fails with
Listening for transport dt_socket at address: 62914
Process started.
Started
An exception of type: java.io.FileNotFoundException occurred and was ignored
Exception on thread 0001 ()
Type: java.security.PrivilegedActionException
Message: (null)
Subsequent attempts to debug end up with
Listening for transport dt_socket at address: 63437
in the output window
this is my code
namespace PosgresConsoleApplication;
interface
uses
java.util,
java.sql.*;
type
ConsoleApp = class
public
class method Main(args: array of String);
end;
implementation
class method ConsoleApp.Main(args: array of String);
begin
// add your own code here
System.out.println(‘Started’);//&Class.forName(‘org.postgresql.Driver’);
var connection := DriverManager.getConnection(‘jdbc:postgresql://127.0.0.1:5432/JohnMoshakis’,‘JohnMoshakis’, ‘’);
connection.close();System.out.println(‘Finished…’);
end;
end.
It looks like the debugger has stopped on DriverManager.getConnection
I can run the application from the console fine
java -jar /Users/JohnMoshakis/Documents/develop/Cooper/PosgresConsoleApplication/./bin/Debug/PosgresConsoleApplication.jar
Started
Finished…
I’m using the released version of Fire but all I have is the external elements from the last beta.
Fire found jdk1.8.0_65 of the JDK.
Any idea whats going on ?
Cheers,
John