Where have the Eclipse online javadocs gone? - java

For as long as I've been working on Eclipse plug-ins when I have wanted to read some documentation I have always just googled it. This worked fine up until about a week ago when I started being met with this message:
| Topic not found
The topic that you have requested is not available. The link may be wrong, or you may not have the corresponding product feature installed. This online help only includes documentation for features that are installed.
Today this has tripped me up on the following queries:
http://www.google.co.uk/search?&q=ITreeContentProvider
http://www.google.co.uk/search?&q=IObjectActionDelegate
Sometimes trying different versions of the Eclipse docs works, sometimes it doesn't.
I had assumed this was just a glitch but I'm still noticing this issue, where have the docs gone?

Two suggestions without using Google:
Use the Eclipse documentation directly!
Use Bkekko with my Eclipse slashtag: https://blekko.com/ws/ITreeContentProvider+/timkrueger/eclipse

This issue is now resolved. I contacted the Eclipse web admin but didn't hear back so whether Eclipse fixed the issue or Google figured it out, i'm not sure.

Related

Downloading libGDX setup

I've recently come across libGDX for java game development and wanted to give it a try. Every tutorial i've looked up showed that i have to download the setup.jar from https://libgdx.badlogicgames.com. The problem i'm having is that upon visiting this site, i always get redirected to https://libgdx.com, where all i can find are features, a doc, news... and a git repo with code.
Can someone explain to me how i can still download the setup app. Or do i have to run the code from git? Maybe this is a completely stupid question and i'm missing something really obvious but currently i'm completely lost.
It looks like the Website of the libGdx Developers has changed.
I researched a bit and found out that they provide you useful tools for programming with libgdx.
The tool list contains the Setup Tool.
You can find a list of the tools here:
https://libgdx.com/dev/tools/
However I have had ungreat experiences with the tool.
If the tool installation does not work properly. I would recommend you to try to install it manually.
You can find informations about the Manual installation here:
https://libgdx.com/dev/project-generation/

How to show the result on Tooltip while running java file - IntelliJ IDEA

In this video, Venkat Subramaniam is running simple java file and he is able to see the result on screen as the given below image. Does anybody know which tool he is using ?
Its actually a wonderful feature, but unfortunately this only work for Textmate.
Here you could find how to set it up for Textmate: https://www.ivonet.nl/2017/11/07/textmate-get-run-output-as-tooltip/
For IntelliJ IDEA there no such thing. But, a one guy has tried to do it in InteliJ Idea with a plugin which is available at https://github.com/jcraane/intellij-tooltip-runner. But, it is outdated and not working in recent releases.

Trouble installing the Android SDK on Windows 10 through cmd

I am having trouble installing the Android SDK on Windows 10. I am following a brazilian course on app development using react-native on android. This is a documentation page explaining how to create the development enviroment to do so: https://docs.rocketseat.dev/ambiente-react-native/android/windows (use google translate on the website to see the english version). However, on the part where they execute the following command :
$ C:\Android\Sdk\tools\bin\sdkmanager "platform-tools" "platforms;android-27" "build-tools;27.0.3"
the console returns:
Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.sdkmanager.SdkManagerCli
I have searched an entire day for a solution and discovered that, to my sorrowing dissapointment, this is a incredibly generic error when working with java in general. So I tried a plethra of things to no avail.
Reinstalling java(64-bit version)
Reinstalling jdk
Checking and rechecking what could possibly be wrong with the enviroment variables(I found no problems)
Searching through a dozen tutorials on how to install de Sdk via cmd.
Trying to get the Sdk on my machine through Android Studio(but couldnt use any of the Sdk commands necessary for the tutorial)
Some other stuff(I spent an entire day trying to fix this)
TLDR: I know this question has been posted in some form or regard before, I've read through all of them though, and none of them helped me.
If anyone has any idea of what I'm dealing with here, or has gone through this before, I would very much appreciate any advice that can be given. This problem has been drilling on me for a while now and I would really like to move on from it. I'm willing to provide any details on my current configuration but must of it you can find on the tutorial I linked earlier. Thank you for your attention.
It turns out there really are a billion reasons as to why this happens, and in my experience with stack, I don't think this will be answered anytime soon. So for future reference I will be giving some advice to anyone who ends up stumbling onto this problem.
Dual-boot your machine with Linux. I know this sounds like a non solution but it really is the only feasible solution. I spent an entire week trying to solve a problem that really wasn't worth solving. There are a ton of tutorials on how to do it. It took me less than 30 minutes to set up the whole thing and voilá, everything worked as a charm. Don't waste your time trying to make stuff like this work on Windows, especially since Java is involved.
The tutorial I used: https://docs.rocketseat.dev/dual-boot-windows-linux/introducao
PS: The tutorial is in Portuguese but Google Translate works pretty much perfectly on the page, so there should be no issues.

Eclipse - Stuck "processing jax-rs changes"

I have installed Eclipse Mars2 and when I try to save changes I got a message saying "Processing JAX-RS changes... (Waiting)" and Eclipse freezes for a couple of minutes. I'm developing a spring-mvc maven based application using jboss as server (I don't know whether this is relevant or not).
In this answer a nullPointer is gotten, but I can't see any errors whatsoever. I can't find the "jax-rs- support" option in my project either.
Any clues?
Thank you very much!
The reason for this problem to exist is unclear. A quick Google for the problem doesn't seem to bring up any existing bug report.
Meanwhile, whatever processing features Eclipse has for JAX-RS are quite superfluous and you can easily do without - especially if you do not actually use JAX-RS in your project. So in this case disabling the builder which you will find in the Project properties does the trick to make the problem go away.
You can uncheck JAX-RS from project->properties->project facets . This helped me

Are debug enabled/compiled versions of the java class libraries still available

Background:
I'm trying to debug a problem with a swing application where I get a class cast exception in the standard boolean table renderer of JTable. I have the source code attached but don't see any of the values for the local variables or parameters. I assume this is because I'm not java libraries compiled with debug information turned on. I'm using eclipse on windows vista.
Things I've tried:
I've searched via google and on the oracle download site. There doesn't appear to be any obvious link to download a debug version of the libraries. There is one question on this site which links to an old java download site but this just redirects to the standard oracle one now.
Thanks
I have looked into this problem before. There are lots of debates about it but no real answer. You will find some stale links to some early-access beta versions of JDK6 that supposedly contain a DEBUG bundle with rt.jar compiled with local variables enabled, but I have never actually found anything.
Sorry, but re-compiling it yourself seems the only option for now.
Edit: There appears to be some progress on this. As this answer suggest, you can download the latest snapshot release which should have all jars compiled with relevant debugging info.

Categories

Resources