Forums Register Login

trying to run an older javascript on win 8.1

+Pie Number of slices to send: Send
Any pointers would be greatly appreciated!

Im trying to run an older javascript on win 8.1. I have a bit of coding experience in processing.


Can someone tell me what this error means and how I can fix it? See attachment screen shot.

Thanks!
java-error.png
[java-error.png]
+Pie Number of slices to send: Send
Welcome to the Ranch.

Please be sure to take the time to compose descriptive subjects for your posts. You will attract people who will can give you better and faster answers when your posts have good, descriptive subjects. For more information, please click this link ⇒ UseAMeaningfulSubjectLine.

Using a title such as "please help" isn't going to attract the attention of those who can best help you.

I have updated the subject for you -- please use it as a guide for future topics.
+Pie Number of slices to send: Send
P.S. This is a Java message, not JavaScript. They are completely different languages despite the unfortunate name collision.
+Pie Number of slices to send: Send
This is most likely because you have Java classes that were compiled using Java 1.8, but are trying to run them in a Java 1.7 virtual machine.

You'll either need to recompile the classes with Java 1.7, or use the Java 1.8 virtual machine to run them.

Or, it may be something else. I'm not a Windows user, so someone with Windows experience may have other ideas.
+Pie Number of slices to send: Send
Thanks for that bear. I'm an infant in this but willing to learn. Did a little processing coding for fun a couple years back, and some html experience, thats about it.

Anybody with windows experience who can help?
+Pie Number of slices to send: Send
 

Bear Bibeault wrote:This is most likely because you have Java classes that were compiled using Java 1.8, but are trying to run them in a Java 1.7 virtual machine.

You'll either need to recompile the classes with Java 1.7, or use the Java 1.8 virtual machine to run them.

Or, it may be something else. I'm not a Windows user, so someone with Windows experience may have other ideas.



Bear don't you mean run it in 1.7 or recompile to 1.8?
+Pie Number of slices to send: Send
Yeah, sorry -- flipped things by typing too quickly.

Essentially, you want to be sure that the classes are compiled using the same version or earlier.
+Pie Number of slices to send: Send
OK So thanks to bear I found a workaround for now. I downgraded my java and now it works!

Thanks!
+Pie Number of slices to send: Send
You're not going crazy. You're going sane in a crazy word. Find comfort in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 385 times.
Similar Threads
how to delete multiple browse
Writing my first program - need a little help!
Automated Check for CertManager Test History
What does it mean by base time negative.
PMGR6020E: Error connecting to adapter for Oracle
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:19:44.