0

Hello everyone. I am getting a

java.lang.NoClassDefFoundError: gnu/regexp/REException'

when I run my code. Is there any way around this? I understand it has something to do with a class not being in the write path. I'm using BlueJ as my IDE and I'm trying to use the methods in someone's file that they made (it was from a 'lib' file of a zip that I downloaded, and in .jar format). Thanks in advance.

5
Contributors
8
Replies
9
Views
6 Years
Discussion Span
Last Post by ~s.o.s~
0

Can you post your code? Also are you sure that mentioned library was added to your project? (Each IDE has it's own way how to do this)

0

I think mny code would be much too long to post on here, but here is a bit:

theRobot.delay(500);
theRobot.drag(but, toX, toY, InputEvent.BUTTON2_MASK);
theRobot.delay(500);
theRobot.drop(but, toX, toY);

and yes, I'm sure. It compiles and runs up until i use a method from that library.

0

and yes, I'm sure. It compiles and runs up until i use a method from that library.

If it compiles and runs before you try to use methods from the library, chances are it can't find the library. So are you 100% sure you have the library in the correct place? I have never used BlueJ so I can't help you in that regard.

0

~sos~ I think you're correct, however I can't get the download link to work. I searched it on google but couldn't find it elsewhere.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.