Skip to main content



      Home
Home » Newcomers » Newcomers » Errors to eclips luna after upgrading Android studio(I received errors after upgrading android studio and java)
Errors to eclips luna after upgrading Android studio [message #1712438] Sat, 24 October 2015 14:53 Go to next message
Eclipse UserFriend
Hey everyone,

SO I have Andriod studio and eclipse luna installed on my computer. I upgrades AS and then Java on my computer and now I am getting errors when I run eclipse projects.

Below are some screenshots. Any advice?

thanks in advance! Smile
Re: Errors to eclips luna after upgrading Android studio [message #1712450 is a reply to message #1712438] Sun, 25 October 2015 01:43 Go to previous messageGo to next message
Eclipse UserFriend
On 10/24/2015 10:22 PM, Dharmesh Rana wrote:
> Hey everyone,
>
> SO I have Andriod studio and eclipse luna installed on my computer. I upgrades AS and then Java on my computer and now I am getting errors when I run eclipse projects.
>
> Below are some screenshots. Any advice?
>
> thanks in advance! :)

Nowhere in your project do I see any sign of a) Maven or b) the AWT JAR.
Maybe you've added it externally via Build Path, but your question
leaves everything to the imagination.

The naming in your code implies that you're very new to Java. I would
suggest a tutorial or two to get started, perhaps from here:

http://www.vogella.com/tutorials/eclipseide.html
Re: Errors to eclips luna after upgrading Android studio [message #1712452 is a reply to message #1712450] Sun, 25 October 2015 03:00 Go to previous messageGo to next message
Eclipse UserFriend
The image doesn't actually show a message when trying to run your code.

Upgrading Java can remove old versions that Eclipse knew about. Eclipse won't know about newly installed versions unless you tell it.

In order, make sure everything points to a valid JRE on the Installed JREs preference page, the nearby Execution Environments preference page, the JRE System Library entry on every Java Project's Java Build Path (use the Package Explorer or the project's Java Build Path property page), and then the individual launches in the Launch Configuration Dialog (Run->Run...).

Referring to the JRE by using an Execution Environment in the project's Java Build Path and in your launchers will save you from having to review those again later under similar circumstances.

[Updated on: Sun, 25 October 2015 03:06] by Moderator

Re: Errors to eclips luna after upgrading Android studio [message #1712609 is a reply to message #1712452] Mon, 26 October 2015 13:53 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Thanks for the reply.

The error I get when I run the app is JRE Java-CDC does not support debug mode.

How will I be able to specify JRE build path for eclipse? Thats the issue but I don't know how to point eclipse to the path of the JRE



index.php/fa/23742/0/
  • Attachment: error.PNG
    (Size: 105.49KB, Downloaded 1328 times)

[Updated on: Mon, 26 October 2015 23:32] by Moderator

Re: Errors to eclips luna after upgrading Android studio [message #1712742 is a reply to message #1712609] Tue, 27 October 2015 16:02 Go to previous message
Eclipse UserFriend
Some of those messages require that you have a Java 1.8 runtime installed. You would set that up from the Installed JREs preference page. A project's Java Build Path can be modified from the Properties dialog for the project. You can open that by selecting the project and choosing Properties from its context menu or from the Project menu in the menu bar.
Previous Topic:org.apache.http.HttpResponce cannot be resolved
Next Topic:Dependency on C:\Users\User
Goto Forum:
  


Current Time: Sat Apr 19 15:03:02 EDT 2025

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

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

Back to the top