echo %JAVA_HOME%
echo %PATH%
I noticed that if I run java from cmd it runs. But when I do
echo %JAVA_HOME%
No JAVA_HOME is displayed (expected since I have not set it)
and when I do
echo %PATH%
no directory in the PATH points to a java installation. Expected since I have not modified PATH to add java.
But now I can not understand why I don't get Bad Command on running java
οΏ½οΏ½ οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½, 21 οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½ 2012 11:40:16 οΏ½.οΏ½. UTC+3, οΏ½ οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½ vogella οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½:
Can you run java on the command line?--
2012/10/21 Java Dev <flying...@yahoo.com>:
> Hi,
>
> I have a question about export of product.
> I export my application and I do NOT bundle a JRE (e.g. paragraph 11.5). And
> the application works fine.
> But I also do NOT have the %JAVA_HOME% set in my PC and do NOT have the
> jre\bin or javaw.exe or anything in my PATH.
> So how does this exported application work? How does it find java? There is
> NO jre folder in my export since I do not bundle jre.
> So I can not understand how this works. Could you please explain this?
>
> Thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "vogella" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/vogella/-/QBP6wYaQinkJ.
> To post to this group, send email to vog...@googlegroups.com.
> To unsubscribe from this group, send email to
> vogella+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/vogella?hl=en.
You received this message because you are subscribed to the Google Groups "vogella" group.
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/oNGk7LQcszcJ.