- Jun 9, 2021
- 12
- 0
- 0
hi, need help to jar it, i did it write but says jni error when i open it. this is for a friend i would like to know how to make a runnable jar for him . my discord is sedveka#7186
12:10:39 AM: Executing task 'run'...
Configuration on demand is an incubating feature.
> Configure project :
The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.4.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
at build_5eb7vr78h9i0bchncboc0ko5n$_run_closure2$_closure14.doCall(C:\Users\alecm\Desktop\KMast\Kronos-master\build.gradle:61)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The testCompile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the testImplementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.4.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
at build_5eb7vr78h9i0bchncboc0ko5n$_run_closure2$_closure14.doCall(C:\Users\alecm\Desktop\KMast\Kronos-master\build.gradle:68)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Task :kronos-update-server:processResources NO-SOURCE
> Task :kronos-api:compileKotlin UP-TO-DATE
> Task :kronos-api:compileJava UP-TO-DATE
Using insecure protocols with repositories has been deprecated. This is scheduled to be removed in Gradle 7.0. Switch Maven repository 'maven(http://repo.maven.apache.org/maven2)' to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/6.4.1/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.
> Task :kronos-api:processResources NO-SOURCE
> Task :kronos-api:classes UP-TO-DATE
> Task :kronos-api:inspectClassesForKotlinIC UP-TO-DATE
> Task :kronos-api:jar UP-TO-DATE
> Task :kronos-update-server:compileJava UP-TO-DATE
> Task :kronos-update-server:classes UP-TO-DATE
> Task :kronos-update-server:run
Initiating file store...
[11/04/2021 12:10:41 AM]: Update Server is now listening on 0.0.0.0:7304
BUILD SUCCESSFUL in 2s
6 actionable tasks: 1 executed, 5 up-to-date
[main] INFO io.ruin.update.Server - Looking for system.properties in C:\Users\alecm\Desktop\KMast\Kronos-master\kronos-update-server\..\kronos-server\server.properties
12:10:41 AM: Task execution finished 'run'.
> Task :kronos-server:run
[main] INFO io.ruin.Server - jdk.internal.loader.ClassLoaders$AppClassLoader@7aec35a
[main] ERROR rollingErrorFileLogger -
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at kilim.tools.Kilim.trampoline(Kilim.java:113)
at kilim.tools.Kilim.trampoline(Kilim.java:79)
at io.ruin.Server.main(Server.java:80)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at kilim.WeavingClassLoader.run(WeavingClassLoader.java:122)
at kilim.tools.Kilim.trampoline(Kilim.java:110)
... 2 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.ea.agentloader.AgentLoader$1.loadAgent(AgentLoader.java:244)
at com.ea.agentloader.AgentLoader.loadAgent(AgentLoader.java:77)
at com.ea.agentloader.AgentLoader.loadAgentClass(AgentLoader.java:148)
at com.ea.agentloader.AgentLoader.loadAgentClass(AgentLoader.java:102)
Caused by: java.lang.reflect.InvocationTargetException
at io.ruin.Server.main(Server.java:89)
... 8 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.ea.agentloader.AgentLoader$1.loadAgent(AgentLoader.java:240)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
... 12 more
Caused by: java.lang.RuntimeException: java.io.IOException: Can not attach to current VM
at com.ea.agentloader.AgentLoaderHotSpot.getVirtualMachine(AgentLoaderHotSpot.java:90)
at com.ea.agentloader.AgentLoaderHotSpot.loadAgent(AgentLoaderHotSpot.java:56)
... 17 more
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.io.IOException: Can not attach to current VM
at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.<init>(HotSpotVirtualMachine.java:75)
at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:48)
at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:69)
Caused by: java.lang.RuntimeException: java.io.IOException: Can not attach to current VM
at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
at com.ea.agentloader.AgentLoaderHotSpot.getVirtualMachine(AgentLoaderHotSpot.java:86)
... 18 more
Caused by: java.io.IOException: Can not attach to current VM
i got the client running..
but when i try to run the server it gives this error..
client will load.. but cant connect
Made a Git release for this here, for convenience
https://gitlab.com/rsps-releases/osrs/kronos-osrs-184
Why not just compile a list of all your links into 1 thread? You’re flooding the portal screen mate.
Made a Git release for this here, for convenience
https://gitlab.com/rsps-releases/osrs/kronos-osrs-184
Thanks Noz! If you don't mind I'm going to go ahead and update the main link with yours to get it off of my website.
Hello sir, I've been working on this source for about a year or so now and I just want to say thank you a lot. This source was a welcome change from the spaghetti PI stuff I had seen when I was younger.
However, I've run into a bit of a snag in terms of being able to get the server public so my buds can join and was wondering if anyone could point me in the right direction. Whenever I try to build the runelite client from gradle and it seems that the gradle options under "OpenOSRS" just output empty or low size jar files that do nothing. How do I output a functioning Jar?
Thanks again for the source, and thank anyone else in advance for any advice.