Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Applets Working in 32-bit but not in 64-bit JRE

 
Greenhorn
Posts: 25
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day Ranchers,

I've got an applet which runs properly using an installed 32-bit JRE version 8 update 131 in either 32-bit or 64-bit Internet Explorer 11.

But, when I tried a 64-bit JRE (version 8 update 131). Applet wouldn't even load using either 32-bit or 64-big Internet Explorer 11.

I initially thought that this might be an issue with my own Applet. But I tried a demo applet from oracle and it's the same: works well with 32-bit JRE but NOT with 64-bit JRE.

Here's the demo applet for reference:
https://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/examples/dist/depltoolkit_CustomizingSplashScreen/AppletPage.html

I'm wondering if this would simply be a limitation to my applet that it really just works with 32-bit JRE. (Though I may not really need to run in 64-bit JRE technically.)

Any thoughts/comments/suggestions on this? On maybe what's the next step?

Thank you in advance.

Disclaimer:
I've learned this past years that we should be moving away from applets. But somehow, for some reasons, we find it difficult to migrate.
 
Saloon Keeper
Posts: 11221
244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So is your browser configured to use the x64 JRE?
 
Marcelino Parado
Greenhorn
Posts: 25
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

So is your browser configured to use the x64 JRE?



Hmm, I tried to use the iexplore.exe from these two directories:
C:\Program Files (x86)\Internet Explorer
C:\Program Files\Internet Explorer

Or are there any configurations that I need to make?

Thanks Stephen.
 
Stephan van Hulst
Saloon Keeper
Posts: 11221
244
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just tried it out, and the problem is probably that the applet wasn't designed for a 64 bit JRE. For 32 bit applets you need a 32 bit JRE.
 
Bartender
Posts: 3323
86
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happened to the "Write Once Run Anywhere" philosophy of Java?

I guess this is down to Applets no longer being properly supported and is another reason to move away from them.

@Marcelino - It may be time to look at using JNLP or some other technology altogether.
 
Marcelino Parado
Greenhorn
Posts: 25
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Stephan and Tony.

Yes, that's what bothered me too. Java having issues between 32-bit and 64-bit.

Yes, should really not be developing applets anymore moving forward.

Thanks.
 
Grow your own food... or this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!