Saturday, February 21, 2009

Oracle JDeveloper anti aliased text

I don't know about you, but I love anti aliased text. Here's how to add it to Jdeveloper.

Add this to your jdev.conf file:
"AddVMOption -Dswing.aatext=true"

Monday, February 16, 2009

Using Toad with Oracle Instantclient 10.2.0.4.

1. Install the Oracle instant client from here. Make sure you download version 10.2.0.4 and not any of the 11.x.x.x versions, they didn't work with my version of Toad. (9.1)

2. Extract the zip somewhere. Say C:\instantclient

3. Add this directory to the PATH environmental variable. To do this, right click on My Computer, go to the Advanced tab, and click 'Environment Variables'. Under System variables, find Path. Select it, and click edit, and add to the end. (Example: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\instantclient)

4. In the same window, under 'User variables for …', Click the New button. Call the variable 'TNS_ADMIN' and point to your instant client directory. (C:\instantclient)

5. Create a file called 'TNSNAMES.ORA' in your instant client installation directory. In this file designate the connection parameters for your database. Mine looked something like this:

BYMS_DEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.11)(PORT = 1526))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = DEV)
)
)

6. You can also create a sqlnet.ora file but its not neccesary.

7. Restart your computer and fire up toad.


You can use other clients like Oracle Sqldeveloper as well.

--
Done on Windows XP & Toad 9.1

Sunday, February 15, 2009

Windows not Windows?

If this isn't enough to make you ditch Vista I don't know what is.. Lets hope Windows 7 is a least "Windows".. ;-)

A typical Vista error: