Do you need Java JRE installed to run JavaScript?

McSack

Executive Member
Joined
Feb 14, 2007
Messages
5,912
Reaction score
471
Location
tranquility base
First off, I'm freely admitting that I don't know much about Java and JavaScript. I know they are 2 totally different things and can probably find my way around some code, but google has not been my friend today
Don't mind reading and finding out, but this is more a case of trying to get some learning content working with a learning management system (LMS).

So there is a technical standard (SCORM) that is supposed to allow for eLearning content to "play nicely" across different platforms and in different environments. It uses JavaScript and XML to specify how content should be launched and to pass progress / tracking information back to the LMS

Now the problem is that at "really big organisation" there are different Java requirements in different areas and so different business units have different JRE versions running on PC's. Actual content can be published in HTML5 format so that isn't really a problem , but the actual tracking is an issue if JRE is required to run Javascript

Any advice most welcome ... Like I said .... don't mind reading and finding out, but reading through a whole lot of documentation that has no bearing on the problem is a bit frustrating

rgrds
Ballas
 
SCORM is also a bull**** standard. And easily hackable.
 
JRE is for Java.

JavaScript runs in web browsers or in server-side environments like node.js.
 
SCORM is also a bull**** standard. And easily hackable.
Sure , but it's probably the most commonly used for LMS interaction at the moment. Hackability makes no difference in this case because everything will run on an internal LAN with hobbas of security.
In all honesty I don't give a toss which standard is used, in this case though it's probably the only one that will work
 
A JRE is not required for javascript. Javascript is run inside your Web browser so all you need is a modern browser that supports javascript
 
JRE is for Java.

JavaScript runs in web browsers or in server-side environments like node.js.

That's what I thought, but still picking up a "can't find API" type error which in just about every relevant reference I could find points to a JRE version conflict
 
Remember the rule: Java is to Javascript what Car is to Carpet.
 
That's what I thought, but still picking up a "can't find API" type error which in just about every relevant reference I could find points to a JRE version conflict

Where is this error thrown? Are there additional details provided on the error? a screenshot would be helpful.

Also, a shot in the dark... is this LMS Sakai?
 
Also check the console in your browsers 'Developer tools'.
I think it's F12 in IE,
Ctrl+shift+ I in Chrome and Tools->developer tools (or something similar) in firefox.

This could give you more insight.
 
Where is this error thrown? Are there additional details provided on the error? a screenshot would be helpful.

Also, a shot in the dark... is this LMS Sakai?
On launch of content. Error doesn't exactly give much detail and no error log seems to be generated. Content will run, but tracking doesn't work . With no JRE on user PC content won't run at all ... that error has to do with not having the right Java run time version.

Screenshot of API error
LMS_API error.JPG

So that is for content that definitely uses Java. Reason for the OP is that the content can be put together in HTML . SCORM uses JavaScript for tracking

anyways ... JdJ reckons I'm not fit for IT so I reckon I'll just give up and go cry in my corner ;) :D

Oracle LMS
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X