| View previous topic :: View next topic |
| Author |
Message |
oliviert
Joined: 23 Oct 2009 Posts: 4
|
Posted: Fri Oct 23, 2009 9:11 am Post subject: Parser error when editing php |
|
|
Hi the parser is not functionnal for me at all, and i can not find the reason.
So i do not have any side tree, of all my functions and variables.
Here are screenshots of the error:
thanks for your help, without this working, netbeans is just another text editor
| Description: |
| and the details of the error ! |
|
| Filesize: |
188.48 KB |
| Viewed: |
288 Time(s) |

|
| Description: |
| the error that netbeans throw |
|
| Filesize: |
205.37 KB |
| Viewed: |
288 Time(s) |

|
|
|
| Back to top |
|
 |
radek matous Posted via mailing list.
|
|
| Back to top |
|
 |
oliviert
Joined: 23 Oct 2009 Posts: 4
|
Posted: Sat Oct 24, 2009 8:19 am Post subject: Same Error with the dev snapshot |
|
|
I just tried the dev snapshot and the same problem occur...
Could it be something wrong on my machine, outside of netbeans ?
I do use the sun jdk (latest).
i tried with openjdk, it's the same.
So, i'm lost with this error.
|
|
| Back to top |
|
 |
Petr Pisl Posted via mailing list.
|
Posted: Tue Oct 27, 2009 10:32 am Post subject: Parser error when editing php |
|
|
Hi,
could you try to run NB with new userdir from command line? Just run the
netbeans from bin folder with --userdir {path to new userdir}.
Let me know, whether it helps or not.
Regards,
Petr
| Quote: | I just tried the dev snapshot and the same problem occur...
Could it be something wrong on my machine, outside of netbeans ?
I do use the sun jdk (latest).
i tried with openjdk, it's the same.
So, i'm lost with this error.
|
|
|
| Back to top |
|
 |
oliviert
Joined: 23 Oct 2009 Posts: 4
|
Posted: Tue Oct 27, 2009 1:11 pm Post subject: Still the same thing |
|
|
Hi,
i was under root in terminal.
i launch netbeans with option --userdir /path/to/userhome
this user had never use netbeans before.
So the .netbeans in this user home directory have been created.
But when i tried to edit a php file from a new project that was not a netbeans project before, i did have the same error htat occured.
So i do still have the problem, and really i can not find why;
I'm under FC11, with the latest jdk from Sun.
I'll try to install netbeans on a windows virtual machine that run under my FC11, and let you know if i do experience the same problem.
BTW Thanks for your help
|
|
| Back to top |
|
 |
oliviert
Joined: 23 Oct 2009 Posts: 4
|
Posted: Fri Oct 30, 2009 3:42 pm Post subject: SOLVED |
|
|
I solved this problem by doing:
reinstall latest jdk from Sun.
and set correctly all java alternatives and slave, especially for:
java
keytool
rmiregistry
javac
jar
rmic
alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_16/bin/java 120 \
--slave /usr/bin/keytool keytool /usr/java/jdk1.6.0_16/bin/keytool \
--slave /usr/bin/rmiregistry rmiregistry /usr/java/jdk1.6.0_16/bin/rmiregistry
alternatives --install /usr/bin/javac javac /usr/java/jdk1.6.0_16/bin/javac 120 \
--slave /usr/bin/jar jar /usr/java/jdk1.6.0_16/bin/jar \
--slave /usr/bin/rmic rmic /usr/java/jdk1.6.0_16/bin/rmic
And set my default java with:
alternatives --config java
so i the edit my et/netbeans.conf (in netbeans directory) to set my new jdkhome
Launch netbeans and Voila!
everything is running well
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|