Click here to Skip to main content
15,888,293 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sir,

We are facing a problem regarding the command prompt. The code we used is a follows:
setpath=;c:\jdk1.6\bin:%path%
classpath=;c:\jdk1.6\lib;
start

By this code, the command prompt formed successfully but it gets automatically closed after 5 mins.
Sir its very urgent
Please rectify and clarify our problem.
my email id is [Email id removed to avoid spam]. :(
Posted
Updated 20-Aug-10 19:18pm
v2
Comments
Sandeep Mewara 21-Aug-10 1:19am    
1. Dont give your email id, it will attract spam. Whenever someone replies you, an email will be sent to you automatically.
2. It might be urgent to you but people help here in their free time, so have patience.
Richard MacCutchan 21-Aug-10 4:36am    
Your question is not very clear, please try rewording to explain your problem.

1 solution

try this

set JAVA_HOME=c/prog_file/java(path till bin to b specified here after "=")
set classpath=.;%JAVA_HOME%/Lib
set path=%JAVA_HOME%/bin;%path%
start
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900