/etc/profile.d/jre.csh syntax error: unexpected end of file

Booting, installing, newbie
Post Reply
Message
Author
_MegadetH_
Posts: 221
Joined: Sun 28 Sep 2008, 10:23
Location: Italy

/etc/profile.d/jre.csh syntax error: unexpected end of file

#1 Post by _MegadetH_ »

Hi there. Today I noticed that on the desktop the icon of console changed into a default icon instead of terminal one. I clicked on console and I got the following error /etc/profile.d/jre.csh syntax error: unexpected end of file.
I don't know if the problem is java but days ago I updated java version with a pet file I found in the forum.
I attached a snapshot of my problem, I hope you can help me.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#2 Post by CatDude »

Hello _MegadetH_

I had a similar error message after installing qt4,
the only difference (IIRC) was that it was complaining about /etc/profile.d/qt4.csh

So i simply deleted that file, and the error message went away.

Therefore, my suggestion is to delete the file: /etc/profile.d/jre.csh
or if you think that is rather reckless, just move it to another location temporarily.

That way if something doesn't work properly (regarding java),
you can just put the file back where it was.

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

_MegadetH_
Posts: 221
Joined: Sun 28 Sep 2008, 10:23
Location: Italy

#3 Post by _MegadetH_ »

CatDude wrote:Hello _MegadetH_

I had a similar error message after installing qt4,
the only difference (IIRC) was that it was complaining about /etc/profile.d/qt4.csh

So i simply deleted that file, and the error message went away.

Therefore, my suggestion is to delete the file: /etc/profile.d/jre.csh
or if you think that is rather reckless, just move it to another location temporarily.

That way if something doesn't work properly (regarding java),
you can just put the file back where it was.

CatDude
.
Thank you CatDude for fast reply.
As you suggested me, I just moved jre.csh to another folder and terminal works without error.

Post Reply