How can I get the "Eclipse >Generate>Jaxb classes" option back?

franka picture franka · Aug 4, 2011 · Viewed 96.2k times · Source

I recently had to migrate to a new machine and re-installed Eclipse. At the moment, I need to generate JAXB classes from an xsd. I cannot quite remember what I installed, but in my old Eclipse I had the option -rightclick-generate-jaxb classes.

Who knows what I have to install/plug-in to get it back?

I was looking at installing Dali, which seems like it could be right, but I am pretty sure I did not install Dali last time. I also included the jaxb jars in my build path, as last time, so that should be ok.

I am using Eclipse 3.6 and Java SE 1.6.

Answer

darkhipo picture darkhipo · Jul 21, 2015

If you don't have JavaEE:

Help>>Install New Software>>Works with:--All Available Sites--

Search for JAXB

Then select Web, XML, Java EE and OSGi Enterprise Development and install.

After you restart Eclipse you should see the generate option.