-
Jan 11th, 2013, 01:07 PM
#1
Setup issues - tcruntime-instance.bat throws filename errors
I try to run tcruntime-instance.bat, but get the following error: "The filename, directory, or volume label syntax is incorrect."
I am new to spring, and am trying to get my springsource environment up and running. I can install springsource (spring-tool-suite-3.1.0.RELEASE-e4.2-win32-x86_64-installer) and even create/compile/run a simple Hello World app with spring dependencies that outputs to the console.
What I cannot seem to do is get tc server running. Following the directions from http://pubs.vmware.com/vfabric51/ind...stinstall.html, I run the tcruntime-instance.bat and get the above error.
I have the following env variables:
USER VARS:
ANT_HOME ,;D:\Dev_Resources\apache-ant-1.8.4\bin
JAVA_HOME .;"D:\Dev_Resources\Java\jdk1.7.0_12"
PATH .;"D:\Dev_Resources\Java\jdk1.7.0_12\bin";"D:\Dev_ Resources\apache-ant-1.8.4\bin"
RUNTIME_DIR .;"C:\Program Files\Java\jre7\bin"
I believe that I have these same vars copied as system level environment variables as well. I'm stuck - any advice?
-
Jan 11th, 2013, 02:37 PM
#2
Hi,
Not sure if this will completely solve your issue, but you have a comma first instead of a period in your ANT_HOME.
-
Jan 11th, 2013, 03:44 PM
#3
Jason,
Thanks for the reply! Unfortunately no, that doesn't seem to affect it. Thanks for the catch though - eventually I suppose ant would have started complaining at me.
-
Jan 11th, 2013, 03:58 PM
#4
Oh I see the problem. Your JAVA_HOME needs to point to the JAVA_HOME specifically, it can't have multiple paths.
i.e. JAVA_HOME "D:\Dev_Resources\Java\jdk1.7.0_12"
Same with ANT_HOME and RUNTIME_DIR
-
Jan 11th, 2013, 04:03 PM
#5
Jason,
That was it! That seems so simple but I was chasing my tail. Thanks. I wish this was stack overflow so I could vote you up!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules