> i compiled them on my local machine, as the webserver i
am hosting on is
> shared so i dont have access..
>
> i am running vista with the latest JVM, i am sure the
webserver is windows
> 2000.. what would be the best thing to do?
Well in my (limited) experience, one will run into problems
if one's
compiling files on on OS and running them on another. I have
had problems
compiling on XP and trying to deploy on 2k3. I'm not entirely
sure whether
it was a JVM version difference or an OS version different;
but would not
expect files compiled on on JVM version to work on another.
You can check your JVM version with this code:
{code}
<cfset oJvm = createObject("java", "java.lang.System")>
<cfdump var="#oJvm.getProperties()#">
{code}
Look @ the java.version value (I guess... there's a few in
there that
reflect kinda the same info).
I suppose you could write some code to compile your files
progammatically,
using <cfexecute> to call cfcompile.bat. Or check what
cfcompile.bat
actually does, and call whatever it is directly. Then you
could run that
code on the remote box.
First thing to do though before getting too carried away with
that sort of
thing is to get onto the same Java version as the server, and
compile the
files as that version, and try again. It might be best to
just compile one
test file whilst you're experimenting, to save some time.
--
Adam