S schalkgreyling Member Licensed User Longtime User Jun 11, 2016 #1 Hi All, Im having trouble starting the RemoteDatabaseConnector on my mac, im getting the exception: Schalks-MacBook-Pro:RemoteDatabaseConnector schalkgreyling$ ./RunRLC.bat Error: Could not find or load main class java My RunRLC.bat config: "/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java" java -Xmx256m -cp .:/Users/schalkgreyling/RemoteDatabaseConnector/libs/*:/Users/schalkgreyling/RemoteDatabaseConnector/jdbc_driver/* anywheresoftware.b4a.remotedatabase.RemoteServer I have checked the file path(I copied it from Get Info), and the java file exists. Any ideas why this might be happening? Also, when using the test URL(http://localhost:17178/?method=test) Can you replace "test" with one of the sql statements in the config.prooperties file ? Ex: http://localhost:17178/?method=get_sql_list get_sql_list = SELECT * From Table.
Hi All, Im having trouble starting the RemoteDatabaseConnector on my mac, im getting the exception: Schalks-MacBook-Pro:RemoteDatabaseConnector schalkgreyling$ ./RunRLC.bat Error: Could not find or load main class java My RunRLC.bat config: "/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java" java -Xmx256m -cp .:/Users/schalkgreyling/RemoteDatabaseConnector/libs/*:/Users/schalkgreyling/RemoteDatabaseConnector/jdbc_driver/* anywheresoftware.b4a.remotedatabase.RemoteServer I have checked the file path(I copied it from Get Info), and the java file exists. Any ideas why this might be happening? Also, when using the test URL(http://localhost:17178/?method=test) Can you replace "test" with one of the sql statements in the config.prooperties file ? Ex: http://localhost:17178/?method=get_sql_list get_sql_list = SELECT * From Table.
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2016 #2 Why aren't you using jRDC2: https://www.b4x.com/android/forum/t...-rdc-remote-database-connector.61801/#content ? It will also be simpler to start it: Code: Copy java -jar <jar file> And you can modify it as needed. Upvote 0
Why aren't you using jRDC2: https://www.b4x.com/android/forum/t...-rdc-remote-database-connector.61801/#content ? It will also be simpler to start it: Code: Copy java -jar <jar file> And you can modify it as needed.
S schalkgreyling Member Licensed User Longtime User Jun 13, 2016 #3 Silly me, thank you Erel. Upvote 0