# Can't deploy to BlackBerry...stupid problem but I can't solve it

• Hello,
I'm trying to deploy the simplest hello world to my Z10 but I have a problem: when executing some deployment steps, java is not visible to the scripts.

Starting: "C:\BlackBerryNDK\host_10_2_0_15\win32\x86\usr\bin\blackberry-nativepackager.bat" -devMode -debugToken "C:\Users\Etchelon\AppData\Local\Research In Motion\debugtoken1.bar" -package "D:\Work\Qt\build-TestBBQtQuick1-BlackBerry_Device_Qt_4_8_5_C_BlackBerryNDK_target_10_2_0_1155_qnx6-Debug\TestBBQtQuick1.bar" "D:\Work\Qt\build-TestBBQtQuick1-BlackBerry_Device_Qt_4_8_5_C_BlackBerryNDK_target_10_2_0_1155_qnx6-Debug\bar-descriptor-TestBBQtQuick1-qtc-generated.xml"

'java' is not recognized as an internal or external command,
operable program or batch file.

I opened C:\BlackBerryNDK\host_10_2_0_15\win32\x86\usr\bin\blackberry-nativepackager.bat and noticed it starts with @java.
Now, I think I have all the required environmental variables: JAVA_HOME set to C:\Program Files\Java\jdk1.7.0_45\ and LATEST_JRE set to C:\Program Files\Java\jre7\ so I don't really understand why the bat file doesn't see "java"...by the way, if I manually execute that bat from a command prompt, java is recognized...