I am trying to build an Eclipse application that would work with a linux/motif installation target. However, this seems not to be possible even though the export option is available in the product export wizard.
I've checked the content of the delta pack and indeed, the packages for linux/motif are missing. After checking the downloads page for eclipse 3.4 at:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/index.php
I see that even though there is an Eclipse version marked for Linux/motif, it is marked as Testing only. Additionally, there is no delta pack for this target.
Has anyone been successful building an RCP application targeting linux/motif? Would it work if I download this testing only version of eclipse and copy the missing plugins?
We have a similar issue. We are building Eclipse applications and one of our platforms is Solaris 10 x86 which was supported for a short time as an early access build in 3.2 and dropped. I believe 3.2 and 3.3 supported motif so your best bet may be to revert to an older version of Eclipse. I develop in 3.4 and when we do the Solaris specific release we switch back to 3.2, it is usually about 10 minutes of changes to fix everything for the prior version. Usually it is removing #overides in a few locations and changing a function or two that Eclipse no longer uses.
The other thing you can do is get the Linux/Motif package for Eclipse, and install it on a Linux box running Motif. Check out your project on that Eclipse machine and export it there. I tried out VirtualBox (a free Virtual Machine from Sun Microsystems) it should make this easy for you.
Related
I am trying to switch from eclipse to netbeans The first thing I am trying do is download the correct version of netbeans. However, when I follow the instrunctions to import a maven project it asks me to choose that from the left hand panel (After a clicking on a new project)
But the only things listed are HTML5 and Javascript projects.
Are there special plugins or am I downloading the wrong version of netbeans? I got here: https://netbeans.org/downloads/index.html and download the java2EE version, but I have not luck. Any ideas?
Since NetBeans is currently in the process of being handed over to Apache by Oracle there are actually four places where you can download different flavors of NetBeans at the moment:
The Oracle location you used is for NetBeans 8.2, the latest stable release. It supports the use of Java 8, but not Java 9 or Java 10.
There is also another Oracle location accessible from the link in your OP if you click the Development link in the top right corner of the page. That version, sometimes known as the "nightly build", also supports Java 9, but not Java 10, and includes some bug fixes not in 8.2
A third option is to download the initial beta Release of NetBeans 9 which supports all Java releases including Java 10, as well as EE 8 from here. See the NetBeans 9 web site for more details. Maven version 3.3.9 is bundled with NetBeans, but you can also use your own external version if you prefer.
The fourth option, and the one I recommend if you are just getting started on NetBeans, is to use the latest release of NetBeans 9 with bug fixes. You can download the latest zip file (which runs on Linux/MacOS/Windows) from here.
The formal release of Netbeans 9 will be sometime next month.
Something is clearly wrong with your current setup if you do not see any options for creating a Java project in the New Project window. Is it possible that you downloaded the HTML5/JavaScript version of NetBeans rather than the Java EE version? They are right next to each other on the download page.
If that is the problem it is possible to upgrade by installing plugins, but it would be much simpler to download again using any of the options described above. You can safely run multiple versions of NetBeans concurrently if you want to try them out, though the GUI is pretty much the same in all cases.
If you only need Java 8/EE 7 then you can stick with option #1, but I you want to use Java 9 and/or Java10 and/or EE 8 then use option #4.
Download the "All" version, then install maven separately.
Open netbeans and navigate to Tools > Options > Java > Maven and change the 'Maven Home' path to the directory where maven is installed.
I'm in process to create/bundle native wrapper for my javaFX project. The project is running in the IDE e(fx)lipse. Using the IDE's build script generate feature I have generated the Ant build which I'm then using to build the app from IDE/command line.
The problem is whenever the build is generating the exe wrapper, the system antibirus(Symantec) is detecting that as a virus and deleting that. This is happening for the simple Hello World projects also. I tried the signing using a generated key also but the problem remained.
It is not possible to disable my antivirus since I'm working in my office machine and will not get corporate approval to do that.
Anyone faced similar issue? or know how to solve this?
Turns out that the problem only existed if the ant build uses the JDK1.8.0_40 32bit version. Not sure what caused the error but I have tried with other versions like JDK1.8.0_5 32 bit, JDK1.8.0_25 32bit, JDK 1.8.0_45 32bit, JDK1.8.0_40 64bit and all of these versions worked flawless.
So I have this neat physics sim I made that, while running at certain settings, runs at around 34 fps when ran via the Netbeans "run" -command. Then I click "clean and build" and go open the program from the dist folder, and it runs at around 10 fps with the same setup.
Can it be about Java settings? I don't have any special setting done in Netbeans but I'm not sure how to check my the settings on the installed JRE, can they even be different by default from what Netbeans uses by default?
I doubt it's running a different JDK but you can check the JDK that your Netbeans installation is using at Tools -> Java Platforms. To check what version of Java is in use by the distributed version look at your JAVA_HOME, and Path environment variables.
A major difference between the distributed version and the development environment may be the libraries. Check your CLASSPATH environment variable, and compare the actual files between the distribution and development environment to see that the size and dates match. I'm not totally sure how to get at the CLASSPATH used by Netbeans but can advise that it has some special magic it uses based on the libraries included. Also be aware that the order of the included libraries may make a differen
What software are you using to deploy your project?
Ok problem solved, it was due to outdated Java. I did have my 32 bit Java updated already - the default download at oracle.com but the program was using the 64 bit version, which was actually way outdated. So installing the latest 64 bit release of Java solved it.
I'm using Eclipse to program Android applications, and when I opened the program yesterday, it popped up an error saying I need to install JRE - I've downloaded the JRE and installed it - when during the installation I got a message saying that the JAVA version I have on the computer (Version 7) is too old for the JRE (Version 8), and that I need to update the JAVA also.
I did so, and then opened up the Eclipse again - And all of the projects,that before worked great, are now full with errors.
I tried installing all of the SDK updates - didn't work, also tried uninstalling Eclipse and re-install it - also didn't work.
The errors I get are: "XXX cannot be resolved to a type" - in amost every single line in the project.
How do I fix it??
Thank you!!
android development tool(adt) are install.. and all update SDK and then import an old program.. Ithink then work.
I would suggest to check that your java build path is functioning properly. This kind of error for me usually means that eclipse cannot find the JRE installation.
Form eclipse you can go to Project->Properties and check for any errors there. Any inconsistency there would cause all your projects to fail.
First of all, you need the JDK installation, not JRE. Second, Android currently supports up to Java v7, which means you'll need to get JDK v7 from here. Make sure you download the correct 32-bit or 64-bit JDK version for your operating system.
Also, ensure your Android SDK and Android Development Tools (ADT) are on the same released version. Different versions of Android SDK and ADT can lead to many unforseen problems.
I need to get a local setup of Java working so I can start coding locally and doing builds.
I know that Java is built into macs automatically. I am running version 1.6.0_22
I found an article on how to install tomcat:
Tomcat on a Mac
I got the Tomcat server running to where i can see the default Tomcat Page.
Started to dig deeper but hit a huge wall on getting to a point where i could use an IDE to get coding.
I downloaded Eclipse for the mac (because it was free and seemed to be the more popular one out there)
So where do i need to go from here to get a working environment to test code from our svn?
Any good articles that i can read. It was hard to find some (recent) documentation on how to get this working on a mac.
Which version of Eclipse did you download? I'm guessing you downloaded Eclipse IDE for Java Developers, which doesn't have the nice WTP stuff that you probably want.
You'll need a heavier flavor of Eclipse, like Eclipse IDE for Java EE Developers. I'm not sure if there's a lighter (in-between) flavor that has WTP, etc., without all the Java EE stuff.
Assuming you have some sort of SVN client and know how to create a trunk on your local machine, do that, and then all you have to do from there is open the java project in that trunk within Eclipse. Once you have that open, on the Eclipse toolbar just build your code, make sure that works, and then run it in the same fashion.