JSE8 does not start after update

Hi

I tired to update my JSE8.0. There where some error message. When I restart the JSE (have rebooted the computer several times) I get an message that there seams to an other instance running... The JSE starts normally but stops when it's Starting Modules. Then I get an Error massage "java.lang.nullpointer.exception exception has occured".

I'm runing it on a Linux computer (and it worked flawless until the upgrade). I tried to log in as root and started it from there and it worked. Is there any settings that can be changed to undo the upgrade?

[573 byte] By [Lun] at [2007-11-26 10:00:24]
# 1

Can u try running the ide with a fresh userdir and see if the problem goes away?

Ref: http://blogs.sun.com/karthikr/entry/jse_directories

Normally, updates are installed in the user directory; so using a fresh user directory is equivalent to running a fresh install. This method will not work if the updates were installed globally though...

KarthikR at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 2

Most of the modules for the update are installed in your user directory with the exception of couple modules. They are installed in $USERDIR/modules.

When you update your JSE8.0, were your running it as root or a non-root user?

If you update your JSE8.0 with a non-root user, and when you run as root, the updated modules will not be effective with the exception of the couple global modules.

Try to use a different userdir to see if it works. Then you may want to redo the update.

Kenneth_H at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 3

Thnx, I tried with an other user dir and it worked. I updated the system as non root user. I run the JSE as with the same user id as I updated it with. I have been searching in my home dir for JSE files but could not find any. My impression is that the update failed in my "user dir" and seems not affect other users (I'm the only one but there are more "user dir's")

Lun at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 4
I have uninstalled JSE 8 and deleted the folders in opt dir. Then I rebooted the computer and installed the JSE8 and I get the same problems as before. My conclusion is that there are other files stored somewhere else in the system and which I can't find. Any suggestions where to look?
Lun at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 5
Are you using a new userdir? It seems the problem come from the old userdir.Thanks,
Kenneth_H at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 6
I'm still in my old user dir. I'm trying to find out where the config file for JSE8 (for my user dir) may be. I don't find any files in the in my user dir. The JSE8 works in other user dir except in my old one.
Lun at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 7
Please check the $USERDIR/modules directory; my guess is that they contain the corrupted jars.
Kenneth_H at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 8
You mean home dir or (I'm not that familiar with linux)? In my home dir there are no modules folderMessage was edited by: Lun
Lun at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 9

>You mean home dir or (I'm not that familiar with linux)?

This is the user dir which you have the problem with. Usually, it should be in your

${HOME}/.jstudio/Ent8. The default user dir is in your JSE8.0 config file:

$ISTALLDIR/ide/etc/jstudio.conf

In the user dir, you might have the modules directory that is where all your local updates went.

Kenneth_H at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...
# 10

Ok I found the Modules dir in my home dir (forgot to turn on show hidden files). I see a lot of XML files in that dir. I deleted those files with the same data as of the upgrade, but it didn't help. .... now I deleted the whole Jstudio dir and now it works thank you Kenneth for the help!

Message was edited by:

Lun

Lun at 2007-7-7 1:29:14 > top of Java-index,Development Tools,Java Tools...