Unexpect Exception when creating new files

I've just installed Sun Studio 11. It didn't recognize jdk1.6, so I switched to jdk1.5.0_10.But when I wanted to created C files, I received an unexpected exception, and sometimes the file was created, sometimes not.What's the possible reason? Thanks.
[275 byte] By [LePoissona] at [2007-11-26 13:17:44]
# 1

> It didn't recognize jdk1.6, so I switched to jdk1.5.0_10.

Yes, Sun Studio 11 IDE doesn't work on Java 6 platform, but Sun Studio Express 3 IDE does, you can download it here http://developers.sun.com/sunstudio/downloads/express.jsp

IDE is *much* better now.

As for C file creation, I don't really know what's happening. Maybe exception class and stack can give a clue?

MaximKartasheva at 2007-7-7 17:42:11 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Thanks for the hint, I'll try the new IDE.I solved the problem by cleaning up ~/.sunstudio directory, and using my own templates. As long as I don't use the preinstalled templates, there's no peoblem. However, it's really weird.
LePoissona at 2007-7-7 17:42:11 > top of Java-index,Development Tools,Solaris and Linux Development Tools...