This content has been marked as final. Show 3 replies
It looks like babylon is packaged with its own server. You shouldn't need a JDK -unless your compiling from the source - just the JRE which you should already have. On windows open the command prompt and set the classpath to the babylon jar file (set CLASSPATH=c:<bablon-directory>\babylon.jar;%CLASSPATH%) and then type in the command they provided you. It appears all the arguments are optional.
I did that and I'm still getting the error " 'java' is not recognized as an internal or external command, operable program or batch file."
Then I remembered my old DOS days (sigh) and used WHERE /R c:\ java.* and found that indeed there's a java runtime in c:\CFusionMX7\runtime\jre\bin\ so I ran the PATH command and prepended that dir and ran the "java babylonserver" command again and got this:
Exception in thread "main" java.lang.NoClassDefFoundError: babylonserver
Could this be related to CF's java or it's strictly the developer's code?
You need to set the classpath. Simplest thing may be to add -cp .;app.jar;... Babylonserver docs should tell you what it expects for a classpath. Like Unix and unlike DOS, java does not even look in the current directory for things. So you specify the current dir with ".".