install jee6 doc on netbeans - netbeans

netbeans 6.8
ubuntu 9.10
i am able to build the sample applications, but the doc in the code assistant popup is missing (when type Ctrl + Space)
how to fix this?

For each platform (Version of the JDK, etc) in netbeans, you can specify the location of the JavaDocs
Select the Tools-> Java Platforms menu
Select the Platform you're interested in
In the Javadoc tab, add the zip file or folder with the javadoc files.
The files you want should be in <Netbeans 6.8 install directory>/enterprise6/docs/javaee6-doc-api.zip.
However, if you install the EJB and EAR plugins in the Netbeans Platform these should be setup automatically so perhaps a fresh install is required. (Note: I just added them to my Netbeans install on Karmic and the docs worked.)

Related

Installing J2ME plugins in NetBeans 12.4

I downloaded J2ME plugins from here: https://www.oracle.com/java/technologies/javame-sdk-downloads.html
I can't install the plugins, this is the error:
Some plugins require plugin Java Profiler Core to be installed.
The plugin Java Profiler Core is requested in version >= 2.1.1 (release version 2) but only 3.41 (of release version different from 2) was found.
The following plugins are affected:
    Java ME SDK CPU Profiler Snapshot Viewer
    Profiler (Java ME Projects Support)
Please help me, thank you
First a couple of basic points:
I don't know whether Java ME works with NetBeans using a JDK version > 8 so I first set the default platform for NetBeans to JDK 8. This step may not be necessary, but it definitely works.
Do not download the NetBeans plugins from the Oracle page you linked to. Instead, use the approach detailed below to use older plugins which are compatible.
In NetBeans 12.4:
Go to Tools > Plugins > Settings and click Add to add http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz as an Upgrade Center, then check the Active column for its entry.
Click the Available Plugins tab. You should see four entries for Java ME. Click the Install checkbox for all four, then click the Install button to install those plugins:
Next download oracle-jmesdk-8-0-rr-win32-bin.exe from the Oracle page you linked to, then run the downloaded executable to install the Java ME SDK to a location of your choice (if you haven't already done that).
Add the ME JDK you just installed as a Java Platform within NetBeans using Tools > Java Platforms > Add Platform.... The exact steps are detailed in the update at the end of this answer to How to fix Netbeans 8.0 not detecting Java ME.
So Java ME SDK has been added as a Java Platform, and the older Java ME... plugins have been installed. The final step is to verify that you can now use the Project Wizard to create a Java ME Embedded Application in NetBeans 12.4:
Select Files > New Project... and you should see a new entry in the list of Categories list titled Java ME Embedded. In the Projects list there will be a single entry titled Java ME Embedded Application:
Click Next >, and you should see a screen similar to this:
Set the Project Name field, and any other fields, as necessary.
Finally, click Finish to create the Java ME project.

Netbeans 9.0 (Apache) doesn't open Netbeans 8.2 project folder

I installed Netbeans 9.0 from the Apache site and have installed Jave JDK 10.0.2. Netbeans launches but when I try to open an existing netbeans 8.2 project it does not recognize the project folders.
I can create a new project and a file folder structure is setup that looks the same as my 8.2 project and this can be opened okay. It's like the open project menu does not see a 8.2 project in the folder path.
added 9/6/18: The project is a simple windows GUI controlling a Labjack USB digital IO.
I read this article on Apache NetBeans:
So, does that mean that all the features that are not integrated into
Apache NetBeans (incubating) 9.0 cannot be used? No, it does not. Go
to Tools | Plugins in Apache NetBeans (incubating) 9.0 and, in the
Settings tab, register the NetBeans IDE 8.2 update center:
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
Then go to the Available Plugins tab and you'll see all the plugins
for NetBeans IDE 8.2., and search for the word "Kit", which will give
you bundles of modules, for higher-level features such as C/C++,
JavaScript, Groovy, PHP, and enterprise Java (i.e., Java EE or, as it
is known now, Jakarta EE).
That solution is on Apache NetBeans.

liferay plugin for eclipse version 4.3(kepler)

I want to install liferay plugin in my eclipse version 4.3.
Is there any liferay-IDE update-site available for it?
my liferay version is liferay-portal-tomcat-6.1.2-ce-ga3
note:due to use liferay6.1 I needed to install java6 and remove java8 so I can not install newer versions of eclipse.
In Eclipse Marketplace search for liferay
Click on a search result
Click on the download icon (below the Install button)
Copy the update site URL, e. g. of the Tern Eclipse IDE (available also for Kepler): http://oss.opensagres.fr/tern.repository/1.2.0/
Note, you can install different Java versions, a new one to run the latest Eclipse IDE and Java 6 for your target application (see: Window > Preferences: Java > Installed JREs).
I just downloaded update-site 1.6.2 from https://sourceforge.net/projects/lportal/files/Liferay%20IDE/ and it did work!

eclipse indigo java perspective not visible

I installed Eclipse Platform Version: 3.7.2 on Ubuntu 12.04 LTS. My Ubuntu Software Center shows that Eclipse Extensible Tool Platform and Java IDE (eclipse 3.7.2-1) is installed. Also Eclipse Integrated Development is also installed (eclipse-platform 3.7.2-1). However when I launch Eclipse, I am not able to get a Java perspective and not able to create a Java project. When I click on Open Perspective: I see CVS Repository Exploring, Debug, Resource (default) and Team Synchronizing. Thanks in advance.
You can click open perspective > others and find Java perspective. please refer this picture:
First, you should not install Eclipse from any Linux repository or package manager; just download it directly from the Eclipse web site. Also make sure you're using the Oracle JDK, not gcj. There are many problem reported with running Eclipse under gcj. To specify the JVM for Eclipse to run in, use eclipse.ini
Second, what you have is the Eclipse Platform, which does not include any IDE features; it's just the base platform on which Eclipse is built (another problem with getting Eclipse from a linux repo is that you don't really know what they've packaged and delivered to you). For Java development, you probably want the Eclipse IDE for Java Developers or Eclipse IDE for Java EE Developers packages from the downloads page.
Close Eclipse and rename the .eclipse directory in your home directory with another name, for example .eclipseSAVE.
Restart Eclipse and in perspective you should find Java.

CDT installation in Eclipse

I have installed cdt-master-6.0.2.zip (link) to my Eclipse by extracting it to the Eclipse installation dir. I'm using Eclipse 3.5 in Windows 7 x86 machine. But the plugin doesn't show up when I start Eclipse (I can't create a new cpp project). Yet cdt shows up in Help > About Eclipse SDK > About Eclipse SDK Features. What am I missing here?
To install plug-ins into Eclipse you should always prefer using the user interface through Help > Install new software menu.
Anyway if you really want to install plug-ins manually into your Eclipse installation, you have to place them into the dropins folder.
BUT this way you will have to resolve plug-in dependencies by yourself. If all dependencies are not satifsied, the concerned plug-ins will fail to start silently. This is why you should REALLY prefer to use the standard plug-in installation method to avoid any problem.