- May
- 25
- 0
First, I was trying to experiment with the Play Framework (https://playframework.com/) so I followed the instructions given on the site to download and create an introductory application (https://playframework.com/documentation/2.3.x/NewApplication).
My results were unsatisfying: I'm stumped, and it seems even Activator is a bit confused:
(formatted for better legibility)
Before everyone gets all excited, my `p.cmd` utility is simply
and is my attempt to make the Windows path just a bit more legible.
Under TCC this fails rather curiously as you see, and yet the exact same commands in the same directory work perfectly well with CMD.EXE and with PowerShell (v4.0).
It's depressingly reproducible or I wouldn't bother mentioning it. Ideas? Suggestions? Hints??
My results were unsatisfying: I'm stumped, and it seems even Activator is a bit confused:
(formatted for better legibility)
Code:
C:\Users\Tom.000> cd extract\Play-activator\
C:\Users\Tom.000\Extract\Play-activator>p
PATH=C:\users\tom.000\bin
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files\CollabNet\Subversion Client
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\Program Files\Java\jdk1.8.0_05\bin
C:\Program Files (x86)\Bitvise SSH Client
C:\Program Files (x86)\Git\cmd
C:\Program Files (x86)\Git\bin
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files (x86)\Groovy\Groovy-2.3.3\bin
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\
C:\users\tom.000\extract\apache-ant-1.9.4\bin
C:\Users\Tom.000\Extract\Play-activator> echo %java_home%
C:\Program Files\Java\jdk1.8.0_05
C:\Users\Tom.000\Extract\Play-activator> java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
C:\Users\Tom.000\Extract\Play-activator> javac -version
javac 1.8.0_05
C:\Users\Tom.000\Extract\Play-activator> activator --help
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
javac 1.8.0_05
A Java JDK is not installed or can't be found.
JAVA_HOME = "C:\Program Files\Java\jdk1.8.0_05"
Please go to http://www.oracle.com/technetwork/java/javase/downloads/index.html
and download a valid Java JDK and install before running Activator.
If you think this message is in error, please check
your environment variables to see if "java.exe" and "javac.exe" are
available via JAVA_HOME or PATH.
C:\Users\Tom.000\Extract\Play-activator>
Before everyone gets all excited, my `p.cmd` utility is simply
Code:
path | sed -e 's/;/\n/g'
Under TCC this fails rather curiously as you see, and yet the exact same commands in the same directory work perfectly well with CMD.EXE and with PowerShell (v4.0).
It's depressingly reproducible or I wouldn't bother mentioning it. Ideas? Suggestions? Hints??