Hi,
I am trying to run a java solution remotely on a server, I am using the below command in the terminal:
Confidential info hidden with x's.
But am getting the below error:
Could this be a syntax error?
Thanks
OK, on further inspection, the shellscript seems to rely on some batch files:
Contents of which are:
Do you think it would help to rewrite these as bash files?
I am trying to run a java solution remotely on a server, I am using the below command in the terminal:
java RemoteShellClient 87.120.209.147 50001 "cmd" "java -jar -Dusername=xxx -Dpassword=xxx -DcCodes=all C:\BetInTime.jar ServiceSF"
Confidential info hidden with x's.
But am getting the below error:
Invalid input data
Could this be a syntax error?
Thanks
OK, on further inspection, the shellscript seems to rely on some batch files:
CommandRunner.class
RemoteShell.jar
SockData.class
CommandRunner.java
RemoteShellClient.class
SockData.java
JavaBuild.bat
RemoteShellClient.java
java
JavaClient.bat
RemoteShellServer.class
JavaServer.bat
RemoteShellServer.java
Contents of which are:
set ClassPath=RemoteShell.jar
java RemoteShellServer %1 %2
set ClassPath=RemoteShell.jar
java RemoteShellClient %1 %2 %3 %4
javac -g:none *.java
jar cvf RemoteShell.jar *.class
Do you think it would help to rewrite these as bash files?
Last edited by a moderator: