When i try to run jar by double clicking jar it hangs with just start logo on screen. Same thing happens when i run java -jar bsh-2.0b4.jar bsh.Interpreter. My operating system is Windows XP, my java version is 1.6.0 (jdk).
I can confirm that is is happening to me as well. I'm running Java 1.6.0_02 on a Windows XP machine. My box is a dual core system if that matters. I put the bsh-2.0b4 jar file into the extensions folder of my JRE. When I do "java bsh.Console" the behavior I'm seeing is exactly as the original poster described. However, I can do "java bsh.Interpreter" without any apparent problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: NO
I get the same thing, so this isn't just a oneoff. It's very intermittent, but sometimes it has a spell of doing it every time you run it.
If the machine is busy then it seems less likely to hang.
If you run the jar with java -verbose it hangs straight after printing:
[Loaded javax.swing.JToolBar from shared objects file].
Logged In: YES
user_id=208468
Originator: NO
I can confirm that is is happening to me as well. I'm running Java 1.6.0_02 on a Windows XP machine. My box is a dual core system if that matters. I put the bsh-2.0b4 jar file into the extensions folder of my JRE. When I do "java bsh.Console" the behavior I'm seeing is exactly as the original poster described. However, I can do "java bsh.Interpreter" without any apparent problem.
Logged In: NO
I experience the same performance hit using bsh2.0b4, the call interpreter.eval takes forever
I am using Windows XP
Ticket has been migrated to github.
Please follow up on this over here: https://github.com/beanshell/beanshell/issues/434