How to shorten classpath?

Setting CLassPath in Windows7?

  • javac lies in “C:\Program Files (x86)\Java\jdk1.6.0_16\bin” What exactly should I paste in cmd prompt to set CLASSPATH and PATH ? .

  • Answer:

    1.First Install the jdk1.6 2.Right click on the My Computer select properties.Then Select Advance System Settings. 3.Select Environment variables. 4.In User create a new EV It has- (a) Name- PATH (b) Value-C:\Program Files\Java\jdk1.6.0_10\bin 5.in system create a new EV It has- (a) Name- CLASSPATH (b) value-C:\Program Files\Java\jdk1.6.0_10\jre\bin 6 Press 'OK' & exit. Now ur environment variables are

mystery at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.