Jump to content
  • 0

Having Java Issues


Question

Hey guys, 

So fresh install so I go ahead and download the normal java and then the jdk.. 

I keep getting some popup,

Java Virtual Machine Launcher  

Error: a jni error has occurred, please check install and try again. 

I get that when I try and run any normal .jar client like runelite or openosrs. 

 

Anyone know whats going on here?

Thanks guys

Edit: Running win 10 

Edited by sgt p0wned
forgot a detail
Link to post
Share on other sites

23 answers to this question

Recommended Posts

  • 0

yeah I had the normal java 8 update 241 from java.com or whatever then downloaded the jdk and still had the problem.

I'm just uninstalling both and trying to just install the jdk, maybe that will help? 

Same jni error with just jdk but after that popup comes one that says A JAVA EXCEPTION HAS OCCURED

I don't get it lol I already paid for vip for Lookingglass to so this is all just straight down time. 

Edited by sgt p0wned
Link to post
Share on other sites
  • 0

I got openosrs and runelite to work with jdk 11 but when I have jdk 11 installed tribot wont work.. then when I have jdk 8 installed openosrs and runelite wont work. is there a way to specify what java to use with each program ? 

This java stuff could drive someone mad I swear lol mad respect for all scripters

Link to post
Share on other sites
  • 0

I'm having this issue as well, I CANNOT use looking glass.


Steps to reproduce:
Install JDK8u251
At this point you can open Tribot successfully.

Then install JDK11.0.7
You will be unable to open Tribot any longer, but you will now be able to open the openOSRS.jar


This is a problem because Tribot uses JDK8, while openOSRS uses JDK11, but both cannot be installed if you want any chance of starting up Tribot.

If anyone has a hotfix for this I'm all ears.
I imagine it has something with directing tribot to use the JDK8 javaw.exe but I tried that and still nothing..

Link to post
Share on other sites
  • 0
11 minutes ago, ikeig said:

I'm having this issue as well, I CANNOT use looking glass.


Steps to reproduce:
Install JDK8u251
At this point you can open Tribot successfully.

Then install JDK11.0.7
You will be unable to open Tribot any longer, but you will now be able to open the openOSRS.jar


This is a problem because Tribot uses JDK8, while openOSRS uses JDK11, but both cannot be installed if you want any chance of starting up Tribot.

If anyone has a hotfix for this I'm all ears.
I imagine it has something with directing tribot to use the JDK8 javaw.exe but I tried that and still nothing..

https://bitbucket.org/openosrsjava8/launcher/downloads/

Built using Java 8 so it doesn't require 11.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • We've heard your complaints - the TRiBot API could be much easier to use. We've been dedicating our time to improving the scripter experience here and spent the past year working on a new and improved API - the TRiBot Script SDK.

       

      The TRiBot Script SDK is an easy-to-use library for building TRiBot scripts. It is the recommended approach to building scripts moving forward over the old TRiBot API. It contains all the core things you need to build a script, and a ton of additional helpful stuff to get you using your scripts quicker. See the documentation section for everything offered, and check out the brief overview link too.

       

      The SDK was announced in preview here:

       

      It is now officially released. The official release guarantees we will support backwards compatibility for some period of time. See the 'backwards compatibility' section below for more info.

       

      How to use:

      There is multiple options, listed in the order they are recommended.

      1) Use the gradle template mentioned below

      2) Obtain through gradle

      Add this dependency: api("org.tribot:tribot-script-sdk:+")

      Add this repository: maven("https://gitlab.com/api/v4/projects/20741387/packages/maven")

      3) Take from your local filesystem in your .tribot/install folder. For example, on windows, you'd find it at "C:\Users\[user]\AppData\Roaming\.tribot\install\tribot-client\lib\tribot-script-sdk-[version].jar"

       

      Documentation:

      Java docs: https://runeautomation.com/docs/sdk/javadocs/index.html?overview-summary.html

      Kotlin docs: https://runeautomation.com/docs/sdk/kdocs/index.html

       

      Backwards compatibility:

      We will be following a deprecation schedule whenever we perform a possible breaking change. We will deprecate the respective methods or classes and announce it in a topic. It will remain deprecated for some period of time (weeks or months), and then removed. This will give you time to fix anything, if we need to make a breaking change.

       

      Gradle template:

      Easily build scripts with a new pre-configured scripting gradle template

       

      Users of the current API:

      There is no plans to remove TRiBot API. It will still be available. However, non-critical bugs probably won't be fixed. The SDK does depend on some of the API so fixing some things in the SDK will indirectly fix the API. However, bugs that have existed in the API for awhile will likely not be fixed. It's recommended to use the SDK moving forward. Let us know if there's something the SDK is missing.

       

      Brief overview of the changes:

       

      Bug reports:

      Post bug reports in the bug reports section of the forums

       

       

      Let us know what your thoughts are! If you have questions, feel free to ask below or in discord.

       
      • 0 replies
    • Support for the gradle launcher is being dropped. Read more about the new launcher here.
      • 8 replies
    • What to expect from TRiBot moving forward.
      • 11 replies
    • TRiBot 12 Release Candidate

      The TRiBot team has been hard at work creating the last major version of TRiBot before the TRiBot X release. We've noticed many problems with TRiBot 11 with a lot of users preferring TRiBot 10 over 11. We've heard you, so we took TRiBot 10, added the new features introduced with 11, introduced some other new things, and created TRiBot 12. So without further adieu, here's TRiBot 12.
      • 40 replies
    • Gradle is a build tool used to accelerate developer productivity.

      We recently setup a Maven repository (TRiBot Central) to make it easier for scripters to create scripts. Check it out here: https://gitlab.com/trilez-software/tribot/tribot-central/-/packages

      Furthermore, we've released a simple Gradle project to make it easy to run TRiBot and develop scripts for it. Check it out here: https://gitlab.com/trilez-software/tribot/tribot-gradle-launcher

      The goals of TRiBot Central are to:

      Deliver updates to TRiBot faster


      Better organize TRiBot's dependencies (AKA dependancies)


      Make it easier to develop scripts for TRiBot


      Make it easier to use and run TRiBot


      Note: TRiBot won't be able to run scripts from within this project until TRiBot's next release.
      • 15 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...