SpringSource Toolsuite: Huge icons after todays update - linux

im running a linux box with gtk3 and was re-installing my STS today.
I was choosing the x64 version based on eclipse 4.6 and everything went fine after starting the new installed STS version.
Then i decided to check for updates and was installing the suggested packages (i didnt install any own custom packages/plugins yet).
After the restart the GUI seems to be broken. Please see the Screenhot: http://imgur.com/0lAtByT
Im working already since some years with STS on Linux but never found this strange behavior. Anyone a idea what could fix this problem?

Try:
-Dswt.enable.autoScale=false
when starting STS.

Related

Eclipse, Ubuntu - Eclipse IDE not starting (Well kinda)

I am very experienced with eclipse, using it since its Juno days, but today i have ran into one of the strangest bugs and want to know if any of you have had this bug and if you may have an answer as to how to fix it. (Or at least a work-around to getting my favorite IDE working again).
I recently updated to Ubuntu 16.04 (Xenial) and it seems nothing wants to work like it did when i had Wiley, namely eclipse. I used the installer to download the IDE and launched it and i got a strange issue where the IDE would load and ask for a workspace, but would then show a dialog box that is using the screen buffer as its data.
Screenshot with strange eclipse launch
I then thought that it may be an issue with the downloaded file (Corruption or something) so i downloaded the tar from eclipse.org directly. I extracted the tar and launched the eclipse executable and it loaded up and asked for a workspace again and began to launch, and finally it came up, the same old back buffered box.
So i got the idea to run it from the console and got this output, but i have no idea what it means. I saw no stack traces so im sure its fine (Again it may be a GTK error, so any ubuntu people this is where you come in)
Console Run with the same problem
I started to think it was my java version (Oracle JDK 9 for Linux)that was the problem so i did a test compile of the hello world program and everything was fine, it all worked.
(Would add screen shots but im new here so i dont have enough reputation to do so :( )
Any idea what it might be? Any help would be great!
I found the problem, i installed the latest version of java in the apt repository. This version was JDK9 which Eclipse does not support (At least not until Eclipse Oxygen). I purged the computerof JDK9 and installed JDK8 and everything worked fine!
Moral of the story, don't use JDK9 on Neon
I am running a dual boot windows 10 and Ubuntu 16.04, I have similar issue where I can see all the file menu and the eclipse launched on the tool bar, I have selected the application and used ctrl+WindowsKey+left,right to split the application to half of my screen and then magically it appeared,Then I adjusted to fit to my screen.
Would a fresh install work? I didn't have any issues. Perhaps ask this on ask ubuntu, too.

AndroidStudio update destroyed everything and I need help as to which way I should rebuild (details of fiasco within)

After this huge mess from one AndroidStudio update, am cleaning everything and starting from scratch.
I'd like to ask if anyone knows if I should go with specific versions of Java.
But first my headache, although I just cleaned my computer of AndroidStudio.
I have Win 10 64 bit
HAD AndroidStudio 1.51 (it said it was JRE:1.7.0_79-b15 amd64)
After the update I had a "Unsupported major.minor version 52.0" error
Following some posts I upgraded the Java on my machine.
First "1.8.0_74" but AndroidStudio couldn't find the JDK directory, so I installed "1.8.0_73" and AndroidStudio found the JDK directory. But then I started getting rendering errors but with Rendering Problems Exception raised during
rendering: com.android.ide.common.rendering.api.LayoutlibCallback.getXmlFileParser(Ljava/lang/String;)Lorg/xmlpull/v1/XmlPullParser;
Anyway, that's it. This has become such a tragedy that I would rather start from scratch, but if anyone could point me as to the proper (steps) of which way I should go, I would really appreciate it.
Thanks ahead,
Sergio
I met this issue when I updated the api android 23 N (preview). In xml editor, change the Api to render into Api 23 android 6.0 and Autimatically Pick best.This would solve the problem.
refer: link
Yes.. i also faced same problem,I have resolved with changing the version to api 23.generally it will take best/latest version ,in my case its set to N preview.

Eclipse Workspace not recognized after clean install

I just made a clean install, as I do every year, of my linux system (ubuntu) on my notebook.
I just wanted to open-up eclipse from my (old) workspace, where all my code from the past 12 months is - but eclipse doesn't show a single package!
My assumption is that I used an older version of eclipse up until yesterday before the clean install, and that the version I installed today is newer, thereby doesn't recognize my worksapce(s!). Is this assumption correct? if so, Does anyone know how I can figure out which version of Eclipse I was using when working on the old Workspace, so that I can download that exact same version again?
The absolut worst-case scenario would be to c/p all classes and packages manually into the new eclipse, but it's over a 1000 classes - so that might be too time-consumming.
An help would be greatly appreciated, since there actually are 2 projects from work in those workspaces... ^^
Well, after Downloading Eclipse Mars, I found a solution. Although switching workspaces, or even importing the old workspaces didn't work, I found out that if I started eclipse from the old workspace, even though package explorer would stay empty, it would suffice to define a new java project with the exact same name of one of the projects inside the old workspace, for eclipse to instantly load-up the docs contents.
This not as much a solution, then a work-around... but still, fixed the problem!

REDHAWK IDE sandbox not appearing in SCA Explorer

I am using version 1.9.0 of the REDHAWK IDE on CentOS 6.5 and ran software updates today, made up of OpenJDK updates.
Before the updates, I was able to see the sandbox and chalkboard in the IDE. When I opened the IDE a little while after the updates, the sandbox was gone.
I tried installing Java SE JRE version 1.8.0_05 and restarting REDHAWK IDE without success.
I then tried a fresh IDE installation, which successfully showed the sandbox for two different times starting the IDE. Although, after being closed for an hour or so, the sandbox went missing again.
Does this sound like a java issue? If not, is the IDE breaking itself in some way?
Note that during the time of REDHAWK inactivity I was only using a word processor and a web browser.
Edit: Prior to the updates I had installed the newest GNU HAWK components and was able to load various GNU HAWK components onto the chalkboard with the sandbox still showing up.
I had the same issue, and ended up fixing it by commenting out the following line in the eclipse.ini file:
#-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB
For other people looking at this, I went through the basic example in the Getting Started and the plot window would flash and go away. It is related to that line in the accepted answer.

JavaFX missing from JDK 1.7/1.8 in Linux?

I have a problem that allegedly isn't possible, so I'm having a heck of a time finding an answer.
I have the latest version of NetBeans 7.4, running on fully-updated Fedora 20 x64. Officially, this can work with JavaFX. Period. I have both the JDK from the repo (1.7.something) and the very latest version I could find (1.8.0). Officially, these have JavaFX with them. Period.
If I try to create a new JavaFX project, it has this to say:
Failed to automatically set-up a JavaFX Platform.
Please go to Platform Manager, create a non-default Java SE platform, then go to the JavaFX tab,
enable JavaFX and fill in the paths to valid JavaFX SDK and JavaFX Runtime.
Note: JavaFX SDK can be downloaded from JavaFX website.
Well alright, I'm used to things getting confused, I think I can fix this. Go create a new platform, and... there's no "JavaFX" tab. It took a bit of research to even find out what it was talking about, and in the process I discovered that the tab has actually been removed from 7.4. Because NetBeans 7.4 will absolutely, definitely recognize JavaFX automatically. Period.
Going to the actual JavaFX site tells me, as expected, that it's bundled with the Java SE 7 JDK I already have. Period.
Since the end result I'm after could technically be achieved by integrating one JavaFX component into my Swing application, I attempted that, but NetBeans still can not find anything related to JavaFX and therefore yells at me if I try to import such a thing.
So, given that things that are supposed to just plain work just plain aren't... where can I go from here?
Currently in Debian and Ubuntu (probably others) JavaFX is a separate package from the OpenJDK (openjdk-8-jdk) and so needs to be installed:
sudo apt-get install libopenjfx-java libopenjfx-java-doc
Notable issue (this issue does not impact a Maven, JavaFX application so if that is your preferred build method then ignore the following issue):
If you try to create a new project:
Categories > JavaFX
Project > JavaFXApplication
You'll get:
Internal error. Missing resources [/resources/web-files/javafx-loading-100x100.gif]
/home/ken/NetBeansProjects/vestFxReports/nbproject/jfx-impl.xml:1465: The following error occurred while executing this line:
/home/ken/NetBeansProjects/vestFxReports/nbproject/jfx-impl.xml:3093: The following error occurred while executing this line:
/home/ken/NetBeansProjects/vestFxReports/nbproject/jfx-impl.xml:2055: Error: -includedt requires the java deployment toolkit, which is not included in this distribution
BUILD FAILED (total time: 1 second)
To fix the above error [following steps are derived from here: http://hongouru.blogspot.com.uy/2015/09/solved-error-building-new-project-using.html]:
Switch to the files tab (usually you're on the Project tab).
Expand the node for your project >
expand the nbproject node > open the "project.properties" file.
Find the line javafx.deploy.includeDT=true and change true to false.
Now you can create and run a JavaFX application, on OpenJDK.
Next steps, although beyond the issue at hand you'll probably at some point want to download the JavaFX scene builder: http://www.oracle.com/technetwork/java/javafxscenebuilder-1x-archive-2199384.html
Apparently, the issue is indeed a discrepancy between the open-source OpenJDK provided by most Linux distributions, and the proprietary Oracle JDK. Ironically, this is a well-known issue, but you have to specifically search for it to find it, and by then you already know.
The solution is to download the official Oracle JDK, and if necessary create the matching platform in NetBeans (located under /usr/java/jdk... at this moment). It should work perfectly fine after that.
Perhaps the official documentation
https://netbeans.org/kb/docs/java/nb_fx_screencast.html
https://netbeans.org/kb/72/java/javafx-setup.html
may help you to set it up

Resources