Eclipse "File -> New -> SCA Component Project" option is not available - redhawksdr

Just getting started, installed redhawk IDE on CentOS 6.6 and then launched eclipse just like the manual says in section 3.3.1. Manual says when you go to File -> New-> Project there should be an "SCA Component Project" but here is not.

Related

How to see what version of JDK you are using

How do i see what JDK version i am using in android studio? It says to do ctrl-shift-alt-s but all im seeing is sdk
Go to File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle

Error running forked groovyc caused in Netbeans

I installed Netbeans 11.3 under Ubuntu 18.04 and created in the following a new Groovy project.
Choose File > New Project (Ctrl-Shift-N;\u2318-Shift-N on Mac) from the main menu to open the New Project wizard.
Select Java Application in the Java category. Click Next.
Type GroovyJavaDemo as the Project Name and specify the folder where you want to create the application in the Project Location field.
Deselect the Create Main Class checkbox. Click Finish.
Next, I created a Groovy Script file with only this content println "Hello" and it caused the following problems:
ant -f /home/ubuntu/NetBeansProjects/GroovyJavaDemo -Djavac.includes=Hello.groovy -Drun.class=Hello run-single
init:
deps-jar:
Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build
Updating property file: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/built-jar.properties
Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/classes
Created dir: /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/empty
Compiling 1 source file to /home/ubuntu/NetBeansProjects/GroovyJavaDemo/build/classes
/home/ubuntu/NetBeansProjects/GroovyJavaDemo/nbproject/build-impl.xml:1120: The following error occurred while executing this line:
/home/ubuntu/NetBeansProjects/GroovyJavaDemo/nbproject/groovy-build.xml:26: Error running forked groovyc.
BUILD FAILED (total time: 1 second)
What did I miss?
Thank you in advance,
I don't think you missed anything, since I can reproduce your problem with JDK 11 on NetBeans 11.3.
However, there is a (somewhat unsatisfactory) workaround that worked for me:
Install JDK 8 (if necessary).
Edit the NetBeans file etc/netbeans.conf and set the JDK that NetBeans uses to JDK 8. In my case I added the line netbeans_jdkhome="C:\Java\jdk1.8.0_221" to netbeans.conf.
Restart NetBeans then rebuild your project. It should compile now:
Notes:
You could bug report this issue to the NetBeans team if you wish.
I also tried using JDK 14 as the default Java platform for NetBeans and got a different error: NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7. See the Gradle bug JDK 14 support #10248 for more information on that.
Setting JDK 8 as the default platform for NetBeans doesn't prevent you from adding other Java platforms (Tools > Java Platforms > Add Platform...) such as JDK 11 and JDK 14 for your individual projects.
Edit the groovy-build.xml and replace <groovyc javahome="${platform.home}" with <groovyc javahome="${jdk.home}" it works for me on JDK 1.8
Please find here the solution for Open-JDK-13

Android Studio with the same theme as IntelliJ on Windows

Android Studio seems to have different "theme" on Windows than IntelliJ products I use (PhpStorm, etc.). I'd like to force AS to the more native look&feel. How to do it?
Android Studio 3.6:
PhpStorm 2019.3:
I've tried running AS with JetBrain's JDK, but still the same.
Android Studio 3.6
Build #AI-192.7142.36.36.6200805, built on February 12, 2020
Runtime version: 11-ea+102 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: com.jetbrains.ChooseRuntime
I recommend you download Intellij IDEA and the Android SDK separately. That way Intellij IDEA will have the look and feel you are looking for.
You can find instructions here.
Yes, you can install "default" light theme found in phpstrom in android studio 3.6(latest)
Download IntelliJ Light Theme jar file(select compatibility as android studio) from this website.
open android studio.
File -> Settings -> Plugin -> from the wheel drop down select 'Install Plugin from Disk....'
select IntelliJ Light Theme jar file.
Restart IDE.
Go to File -> Settings -> Appearance -> Theme, drop down select IntelliJ Light Theme and select Apply.
By this way you can install your favorite themes.
I hope this helps.

Can't configure SDK after installation of Android Studio

So I got my new laptop(Win 10) and installed the Android studio 2.2.3 with SDK bundle.
When I first executed Android Studio it got stuck on the splash screen. adding "Add disable.android.first.run=true" to the idea.properties file solved it.
After I got to the first screen, I needed to configure SDK in order to create new project so I clicked on Configure->Project Defaults -> project structure.
I set the location of the SDK and JDK , and then it gets stuck with the "Checking Availability" message:
Checking Availability
I also tried to configure the sdk by clicking from the first screen on
Configure -> SDK Manager.
In this screen it also gets stuck with the message :Looking for updates":
Looking for updates
I tried to install it as Administrator and also to install lower version.
It didn't help.
Thanks in advance
First of all update Android Studio to latest version(V2.3.1) with complete bundle.
Then you don't need to install jdk manually. after finish installation check "Use embedded jdk" in project structure if not checked. and if you needed Android NDK kit then you can download it later.

Ubuntu GTK+3 Eclipse Link

Is there any simple tutorial on linking gtk+3 libraries with eclipse indigo cdt on ubuntu platform? As I googled, I have been trying to use the pkg-config commands but still getting same result; the SDK cannot resolve gtk methods.
I downloaded libgtk3-dev and gtk3 from synaptic properly.
I included all the headers properly from C++ settings - gcc compiler - includes. But what to do about gcc linker - libraries? Any tutorial on this will be appreciated. Thanks...
As I had this problem recently, I'll post here all needed to get a working gtk+ v3 project on Debian 8 with Gnome 3 and Eclipse Indigo.
First of all, ensure you have downloaded all needed packages:
root# apt-get install libgtk-3-dev gdb eclipse-cdt build-essential cmake git pkg-config
As all this software is installed, open Eclipse. We will install the Marketplace, a new eclipse feature not present in Eclipse Indigo.
Open the Help menu (in the upper File bar) and select "Install new Software". A window like this will be opened:
Click on Add... button and enter this repository: Name="Marketplace" and Location="http://download.eclipse.org/mpc/indigo/".
Once you have added the repository, you'll be able to select the Marketplace client, as shown in this image:
Select the "Marketplace client" and install it. Restart the eclipse IDE when needed.
Now you have Marketplace available, so lets use it. We need a tool called Pkg-config to configure all the GTK+ v3 libraries in our project.
Open again the Help menu and select the new "Eclipse Marketplace..." option. In the search bar, type the text "pkg-config" and you should get a screen like this:
This is the pkg-config tool for Eclipse. Press the button "Install" and restart the IDE when needed.
Now proceed creating a simple C++ project in eclipse. Once you have created it, select its main folder and go to Project > Preferences (or just right click on it and select the preferences option). You will get a preferences window, so go to C/C++ Build > Settings and select the Pkg-config tab. Now select the gtk+ 3 option from the list like this:
And all the needed configuration is ended. Close that window and build your beautiful GTK+ v3 application ;)

Resources