java/lang/NoClassDefFoundError: java/lang/Object

Support for Windows users
Post Reply
gmilabi
Posts: 3
Joined: 10 May 2016, 12:33

java/lang/NoClassDefFoundError: java/lang/Object

Post by gmilabi »

Hi!
I have used FileBot for a long time with no problem.
Now all of a sudden I can't start it anymore.
I have tried to platform exe without success.
Is there any logging somewhere I can turn on?
Thanks!
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot won't start on Windows

Post by rednoah »

1. Open CMD
2. Run /path/to/filebot.exe from CMD and see if there's any output
:idea: Please read the FAQ and How to Request Help.
gmilabi
Posts: 3
Joined: 10 May 2016, 12:33

Re: FileBot won't start on Windows

Post by gmilabi »

Here is the message I get

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot won't start on Windows

Post by rednoah »

There must be something horribly wrong with your Java setup. Check if your environment variables make sense. Also, make sure you're running the latest Java 8.
:idea: Please read the FAQ and How to Request Help.
gmilabi
Posts: 3
Joined: 10 May 2016, 12:33

Re: FileBot won't start on Windows

Post by gmilabi »

Variables

JAVA_HOME -> C:\Program Files\Java\jdk1.8.0_92
_JAVA_OPTIONS -> -Djava.net.preferIPv4Stack=true

The JAVA_HOME path is correct.
All other java applications are working fine.

I have uninstalled and installed again FileBot several times without any success...
User avatar
rednoah
The Source
Posts: 23004
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot won't start on Windows

Post by rednoah »

This doesn't mean anything. Ignore.

Code: Select all

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
This is severe. This is why it doesn't work.

Code: Select all

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
If you google for that message you'll find lots of results.

According to the first result, rt.jar (contains all Java core classes) is not in the CLASSPATH. Either a faulty install, or a bad CLASSPATH environment variable.

Reinstalling FileBot will not fix your Java issues. Reinstalling Java might. This might be a launch4j issue that you could report with the launch4j people, but most likely it's just something odd about your setup that causes things to hiccup.

EDIT:

launch4j uses the registry, so the issue might be there.
:idea: Please read the FAQ and How to Request Help.
ShagMiester
Posts: 15
Joined: 05 Jun 2016, 17:00

Re: java/lang/NoClassDefFoundError: java/lang/Object

Post by ShagMiester »

Hello,

I had this problem for three days, my firefox requested a JAVA update because it was outdated, I had 8 update 77 and it updated to 8 update 91 for the 64bit version and it hosed my system until I updated/installed the 32bit JAVA.

my FileBot GUI wouldn't even come up, and whenever I used the context menu commands the dos window would flash but nothing would happen.

you need to install/update both versions of JAVA if you have a 64bit system. I don't know why JAVA doesn't say that, they only mention that if you use both versions of a web browser that it needs to be done.

Hope this helps,
Shaggy
Post Reply