Languages :: Java :: CLASSPATH |
|||
| By: elijah |
Date: 08/09/2005 19:49:25 |
Points: 20 | Status: Answered Quality : Excellent |
|
I HAVE JAVA 1.4.2_08 AND ALSO USING ANTLR COMPILER-COMPILER I DO ALWAYS SET THE CLASSPATH TO THE LOCATION OF THRE ANTLR FILES AT D COMMAND PROMPT BUT DIS IS NOT SUPPOSED 2 BE SO AS I HAVE TRIED SETTING THE CLASSPATH 4 D ANTLR FILES BUT IT SEEMS THEY ARENT SEEN (I USE WIN XP). I'VE CONTACTED SIR TERENCE PARR. HE HELPED BUT IT COULDN'T WORK. CAN I B HELPED WITH INFORMATION ON SETTING CLASSPATH D MORE? |
|||
| By: VGR | Date: 09/09/2005 08:45:07 | Type : Comment |
|
| Hello 8-) Could you reproduce here the answer from Terence Parr ? |
|||
| By: VGR | Date: 09/09/2005 09:03:43 | Type : Comment |
|
| the lexical analyzer antlr requires indeed that its jar file be in the CLASSPATH, so do the following : setenv CLASSPATH ~hpc/lib/Java/antlr.jar:$CLASSPATH export CLASSPATH=~hpc/lib/Java/antlr.jar:$CLASSPATH on a *nixor on Zindoze, go to your topmost-left icon (workstation, "poste de travail", etc), right-click, choose "properties", "advanced" tab, "environment variables" button, the look into the bottom box named "system variables" for a variable CLASSPATH If there is none, create it ; if there is one, amend it accordingly so that the .jar file is findable. Regards ;-) |
|||
| By: VGR | Date: 09/09/2005 09:08:08 | Type : Answer |
|
| an other way of setting it that I found in one of the tinks given on an other site (useful page) :
.;C:\antlr-2.7.2 (don't forget the initial dot semi-colon!)In Windows XP you create/change an environment variable by going to Control Panel, System, Advanced, Environment Variables |
|||
| By: VGR | Date: 04/10/2005 09:13:05 | Type : Comment |
|
| did this help ? If yes, please assign the Answer, if not then provide feedback ;-) | |||
| By: OpConsole | Date: 09/10/2005 09:56:35 | Type : Comment |
|
| Hello. This is the last reminder before forced closure of the Question. Suggested choice : Accept last VGR answer. You may Accept or Split the answer by clicking on the relevant button of the relevant comment ;-) Regards |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








