Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-23-2010, 05:04 PM   PM User | #1
yashsaxena
New to the CF scene

 
Join Date: Nov 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
yashsaxena is an unknown quantity at this point
Question Will my JAVA Program RUN?

Hi . . .

I have a folder named as JAVA on C:\

If I delete this folder will my JAVA program run from command prompt?
as there is no java.exe file?

I have faced this question at the time of interview.
yashsaxena is offline   Reply With Quote
Old 11-24-2010, 06:24 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,639
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Depends on the directory itself.
By default, Java will not install to C:\Java, and if it was not installed there (and a good indicator that java.exe or javac.exe are not available in ./bin there, or check the system path to see if its registered), then you would be fine to delete it.

java.exe will by default install on windows to C:\Program Files\Java\jre#\bin, where # is the version number of java. You definitely don't want to delete this, which is why you need to check if it was installed to C:\JAVA\jre#\bin, which would make that the valid installation path.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:14 PM.


Advertisement
Log in to turn off these ads.