visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: Java :: CLASSPATH


By: elijah Other  Date: 08/09/2005 19:49:25  English  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 English  Type : Comment
Hello 8-)

Could you reproduce here the answer from Terence Parr ?
By: VGR Date: 09/09/2005 09:03:43 English  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 *nix

or

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 English  Type : Answer
an other way of setting it that I found in one of the tinks given on an other site (useful page) :


Create (or change) your CLASSPATH environment variable to read:

.;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 English  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 English  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

EContact
browser fav
page generated in 101.244930 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page