SexScripts : Groovy error when trying to launch sexscripts.exe - https://ss.deviatenow.com:443/viewtopic.php?f=6&t=1065 Page 1 of 1

Groovy error when trying to launch sexscripts.exe

NixonUey [ Sun Feb 27, 2022 6:10 pm ]

I get the following error:

java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache

os.name: Windows 10
os.arch: amd64
java.version: 17.0.2
file.encoding: Cp1252
language: en_US

First Time Running - error noclassdeffound

hermitw [ Fri Mar 25, 2022 7:46 pm ]

Groovy error!
java.lang.NoClassDefFoundError:Could not initialize class.org.codehaus.groovy.reflection.ReflectionCache
Helpful system information to resolve it on the forum:
os.name: Windows 11
os.arch: amd64
Java.version: 17.0.2
file.encoding: CP1252
language: en_US

Not sure what to do next.
Thanks in advance if anyone knows.

Re: Groovy error when trying to launch sexscripts.exe

doti [ Tue Mar 29, 2022 12:32 pm ]

I have no idea for now. Can you test an oldr version of Java (for example Java 14, or even Java 11) ?

Re: Groovy error when trying to launch sexscripts.exe

hermitw [ Thu Mar 31, 2022 3:17 am ]

Well, I installed the consumer runtime version which is version 8. Oracle (java.com) hasn't supported java 7 and doesn't post the consumer version of java 7 and hasn't since 2015. I tried to download the sdk for version 14 and also version 11 from the archive on Oracle, but I get an error each time on their website, even though I'm logged in. Not sure if it is a temporary server issue on their side or some other problem exists.

Re: Groovy error when trying to launch sexscripts.exe

hermitw [ Thu Mar 31, 2022 3:27 am ]

I tried downloading source files and building the project in IntelliJ but it failed. I set it up as a groovy project, but I didn't see any .groovy files? Apparently IntelliJ couldn't figure it out either. I had hoped building in IntelliJ would lead to IntelliJ automatically including any missing resources. Is this supposed to be complied in Java instead of Groovy?

Re: Groovy error when trying to launch sexscripts.exe

doti [ Thu Mar 31, 2022 4:49 pm ]

It's a Java project, only scripts are in Groovy.

Did you tested launching only sexscripts.jar instead of the exe file ?

Re: Groovy error when trying to launch sexscripts.exe

hermitw [ Thu Mar 31, 2022 7:15 pm ]

Yes, I tried just launching sexscripts.jar. Same error. Looking in online references, it appears to me the functionality contained in vmplugin.v7 is fairly limited. I might be able to find that in the code and update it for java se version 8. However, when I compile I get a message that there are multiple references involved, so not sure it that would be a trivial task. I'm also going to look and see if there is a porting utility for porting to java 8. I will also look on my old laptop, I had sexscripts running on that platform. Maybe I still have the java 7 package on it.

Re: Groovy error when trying to launch sexscripts.exe

1246fc5a43 [ Sun May 29, 2022 1:43 pm ]

I don't have a solution but maybe input for troubleshooting.
Got the same error here with different java versions. There seems to be a problem with the rights.
If I open a CMD windows with administrator rights and start the JAR directly via shortcut from java.exe then a window comes up. But it's still broken, when I try to open scripts it always says files are missing etc.

Attachments:
Screenshot 2022-05-29 134252.png
Screenshot 2022-05-29 134252.png [ 32.54 KiB | Viewed 8633 times ]

Re: Groovy error when trying to launch sexscripts.exe

doti [ Wed Jun 08, 2022 11:32 am ]

In this case this is the usual behaviour. I agree an error message would be better.
You need to launch it from its own directory, where it'll find the data.

For you it would be instead :
Code:
cd g:\sexscripts
c:\Program files\java\jdk1.8.0_331\bin\java.exe -jar sexscripts.jar

Re: Groovy error when trying to launch sexscripts.exe

hotiger [ Tue Jul 11, 2023 10:03 pm ]

Hi,
on one laptop I had the same problem (I think); couldn't start the program. With dotis last message I finally was able to get it started. However this procedure was too long, so I made a bat file to start sexscripts with one click. It may be clumsy but works :)

cd\
d:
cd downloads\sexscripts
java.exe -jar sexscripts.jar

Re: Groovy error when trying to launch sexscripts.exe

humbleswede [ Thu Apr 18, 2024 2:45 pm ]

EDIT: Problem resolved by re installing Java AND completely delete Sexcript and installing it again.



Alright. I got a new computer and a struggling to get it to work, see below.

I have rebooted computer after Java installation.
I have removed and re installed Java
I have tried the CMD "java.exe -jar sexscripts.jar"

But still no luck, Any other ideas??

Attachment:
Skärmbild 2024-04-18 144127.png
Skärmbild 2024-04-18 144127.png [ 45.63 KiB | Viewed 410 times ]

Re: Groovy error when trying to launch sexscripts.exe

martlb [ Thu Apr 18, 2024 10:19 pm ]

Directly clicking on the sexscripts executable jar file?
It's the only thing that worked for me after upgrading my hardware.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
https://ss.deviatenow.com:443/
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2011