Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error sun/misc/BASE64Encoder(Error Encoding Android Application)
Error sun/misc/BASE64Encoder [message #1774185] Wed, 11 October 2017 12:40 Go to next message
Alessio Agoni is currently offline Alessio AgoniFriend
Messages: 1
Registered: October 2017
Junior Member
Hi all,
I'm a new Java developer on Android platform and i have a problem: Under Eclipse Oxigen, during a compilation of a simple Android project test program composed by an EditText box, a Button and Text box, without a Java code, only layout objects,
afther populating, with this three objects, the layout section, if I click on Run/Run As/Android Application, Eclipse Oxigen show me this error:

Errors occurred during the build.
Errors running builder 'Android Package Builder' on project 'Risponditoreinterattivo'.
sun/misc/BASE64Encoder

My Operative System is Windows 7 Ultimate, Installed Java jdk-9_windows-x64, Installed Eclipse Oxigen 1 win64, Installed Android ADT adt-bundle-windows-x86_64-20130729 and upgraded. Patched Eclipse Oxigen configuration eclipse.ini file to work with Java SE SDK 9. Downloaded and installed Android development objects on Eclipse Oxigen.

All is working except the encoding... And from here i could'nt move. What can I do?

Thank you very much.

[Updated on: Wed, 11 October 2017 14:53] by Moderator

Report message to a moderator

Re: Error sun/misc/BASE64Encoder [message #1774220 is a reply to message #1774185] Wed, 11 October 2017 19:17 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3022
Registered: July 2009
Senior Member

Is that the full error message? sun.* packages are specific to Sun JVMs, and I wouldn't expect to find them on Android of all places.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Error sun/misc/BASE64Encoder [message #1774978 is a reply to message #1774185] Mon, 23 October 2017 07:14 Go to previous messageGo to next message
andy wang is currently offline andy wangFriend
Messages: 2
Registered: October 2017
Junior Member
I think your JRE (Java Run-time Environment) does not match your android SDK.
You have to install jre1.8, and select it in eclipse [Preferences] -> [Java] - [Installed JREs].

[Updated on: Tue, 24 October 2017 01:39]

Report message to a moderator

Re: Error sun/misc/BASE64Encoder [message #1774981 is a reply to message #1774185] Mon, 23 October 2017 07:34 Go to previous message
andy wang is currently offline andy wangFriend
Messages: 2
Registered: October 2017
Junior Member
This is a picture which shows eclipse JRE preferences.
Previous Topic:Setting Import Declaration
Next Topic:How to export all the vocabulary in rule designer to a word document
Goto Forum:
  


Current Time: Fri Dec 15 06:31:43 GMT 2017

Powered by FUDForum. Page generated in 0.02846 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software