Monday 25 July 2011

Jdeveloper 9i problem with look and feel under Windows7

 

There are still some people that have to use Jdeveloper 9i and I am one of them. Don’t ask me why. it is just a fact. But After I installed Windows 7 I found that it is very hard to work with Jdeveloper since ALL scrollers, folder , checkboxes and a lot of other GUI elements disappeared. So it looks like

image

 

I don’t know what could be a reason. Probably Oracle don’t want to invest any more into this old version. So I will just tell you how to fix it. Very easy

Go to “Tools”->”Preferences”->”Look and feel” and choose something else, but not Windows

image

Restart Jdeveloper and you will get back all Graphic elements

Sunday 17 July 2011

Changing command line prompt in UNIX

 

When you connect to UNIX command line you get some default prompt. For example it can display your current directory. But what if you want to change it. Simple – just set PS1 variable.

Display current directory+ “>” sign:

export PS1=$PWD>

Display  hostname + “>” sign

export PS1=`hostname`\>