JRE not recognised in eclipse IDE
by Yup Yup
Hi,
I installed eclipse-platform-3.5.2-2.fc13.x86_64 on Fedora 13.
Java has been installed on the system.
ca1@localhost ~]$ java -version
java version "1.6.0_18"
......
But, Java runtime is not recognised in the Eclipse IDE.
Under Menu....... Window>Preferences there are no installed JREs options.
Also, no Java project, class options in the menu is available.
12 years, 3 months
SIG meeting 1st of June 13:00 UTC
by Stanislav Ochotnicky
Hi,
we are going to have another SIG meeting tomorrow 13:00 UTC in
#fedora-java on freenode.
Agenda:
* Introduction of %add_maven_depmap into jpackage-utils by the end of the week
* Javadoc scriplet addition
* OSGi provides generator
* JBoss AS inclusion status [1]
* Java SIG tracker bug status
* Open floor
If you have more to add:
https://fedoraproject.org/wiki/Meeting:Java_SIG_2011-06-01
--
Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Software Engineer - Base Operating Systems Brno
PGP: 7B087241
Red Hat Inc. http://cz.redhat.com
12 years, 4 months
SIG meeting on Wednesday May 17th 13:00 UTC
by Stanislav Ochotnicky
It's time to have another SIG meeting since a few topics turned up[1]
== Agenda ==
* Again small tweaks to guidelines
* Addition of -maven-support subpackages (name is just an example) -
these would pull in requires for use in maven (from pom files)
* List all dependencies (even if provided by transitive deps) ?
* Fedora 16 and further plans
* Kill maven2 package
* Finish tomcat6 migration (not that much left to do)
* Finish tomcat(v7) integration and start moving to it
* Eclipse Indigo
* SDK status
* Plugins updates
* Java SIG tracker bug status
* Open floor
Feel free to drop by and help us shape the future of Java in Fedora!
If you want to discuss other Java topics, there's always the open
floor.
[1] https://fedoraproject.org/wiki/Meeting:Java_SIG_2011-05-18
--
Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Software Engineer - Base Operating Systems Brno
PGP: 7B087241
Red Hat Inc. http://cz.redhat.com
12 years, 4 months
Eclipse & WindowBuilder Pro
by John W. Himpel
Good evening,
I am running eclipse 3.6.2 (eclipse-jdt 1:3.6.2-5.fc16).
I am following the instructions for how to install WindowBuilder Pro
(Helps construct Swing gui) found at
http://download.instantiations.com/D2WBDoc/continuous/latest/docs/html/in...
I used http://dl.google.com/eclipse/inst/d2wbpro/latest/3.6 for the url.
The install seems to go fine.
But after restarting eclipse, none of the added functionality seems to
be present.
Does the Help->Install New Software-> sequence put the newly installed
functionality where eclipse is looking for it?
On the "Available Software" screen, I have checked the following:
Show only the latest versions of available software
Group items by category
Contact all update sites during install to find required software
But after restarting eclipse, none of the added functionality seems to
be present.
I also installed "Web, XML, and Java EE Development" from
"http:download.eclipse.org/releases/helios" via the same methodology.
Again, after restarting eclipse, the new functionality doesn't seem to
be present.
Does the Help->Install New Software-> sequence put the newly installed
functionality where eclipse is looking for it?
Any suggestions would be greatly appreciated.
John
12 years, 4 months
Trouble building jmock 2.5.1
by Orion Poplawski
I'm looking at packaging jmock 2.5.1. Package is here:
http://www.cora.nwra.com/~orion/fedora/jmock-2.5.1-1.fc15.src.rpm
Build log:
http://www.cora.nwra.com/~orion/fedora/rpmbuild.log
Error is during the tests:
[junit] Testcase:
testCanMockTypesFromADynamicClassLoader(org.jmock.test.unit.lib.JavaReflectionImposteriserTests):
Caused an ERROR
[junit] Invalid superclass index 0 in class file $UniqueTypeName$
[junit] java.lang.ClassFormatError: Invalid superclass index 0 in
class file $UniqueTypeName$
[junit] at java.lang.ClassLoader.defineClass1(Native Method)
[junit] at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
[junit] at java.lang.ClassLoader.defineClass(ClassLoader.java:480)
[junit] at
org.jmock.test.unit.support.SyntheticEmptyInterfaceClassLoader.synthesiseInterface(SyntheticEmptyInterfaceClassLoader.java:43)
[junit] at
org.jmock.test.unit.support.SyntheticEmptyInterfaceClassLoader.findClass(SyntheticEmptyInterfaceClassLoader.java:25)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[junit] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[junit] at
org.jmock.test.unit.lib.JavaReflectionImposteriserTests.testCanMockTypesFromADynamicClassLoader(JavaReflectionImposteriserTests.java:38)
I have no idea about this. I've applied two patches. One to use
objectweb classes directly rather than from cglib, and one derived from
the 2.6.0-RC2 release to support java 1.6.
Any help would be appreciated.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
12 years, 4 months
jcr-1.0.jar
by Orion Poplawski
Is there any chance of jcr-1.0.jar/javax.jcr being available in Fedora?
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
12 years, 5 months
F13: Installed NetBeans v7.0 (Full) but GlassFish v3.1 Admin Console fails to load/display context.
by Dan Thurman
GlassFish v3.1 @ port 8080 does display the default.
However, I am unable to get Glassfish v3.1 Admin
Console, port 4848 to load. I understand that others
have reported getting this to work with JDK v1.6 update
14 and later where OpenJDK on F13 is at v1.6 update
level 16, and I assume this should work. Maybe the
difference is with OpenJDK v.s. Oracle's (Sun) JDK?
I get the following errors:
INFO: The Admin Console application is loaded.
WARNING: ApplicationDispatcher[] PWC1231: Servlet.service() for servlet
FacesServlet threw exception
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
while attempting to process a 'beforeCreate' event for 'event1'.
at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:422)
at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
at
com.sun.jsftemplating.layout.descriptors.LayoutComponent.beforeCreate(LayoutComponent.java:348)
at
com.sun.jsftemplating.layout.descriptors.LayoutComponent.getChild(LayoutComponent.java:288)
at
com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:556)
at
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:255)
at
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:244)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:113)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
at
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
at
org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
at
org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
at
org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:204)
at
com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1311)
at
com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1189)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
at
org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228)
at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
at
com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
... 44 more
Caused by: java.lang.UnsupportedOperationException: Cannot create
XMLStreamReader or XMLEventReader from a
javax.xml.transform.stream.StreamSource
at
com.sun.xml.internal.stream.XMLInputFactoryImpl.jaxpSourcetoXMLInputSource(XMLInputFactoryImpl.java:283)
at
com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:143)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:115)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:110)
at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:106)
at
org.glassfish.admingui.plugin.ConsolePluginService.init(ConsolePluginService.java:126)
at
org.glassfish.admingui.plugin.ConsolePluginService.getIntegrationPoints(ConsolePluginService.java:428)
at
org.glassfish.admingui.common.handlers.PluginHandlers.getIntegrationPoints(PluginHandlers.java:164)
at
org.glassfish.admingui.handlers.ThemeHandlers.getThemeFromIntegrationPoints(ThemeHandlers.java:102)
... 50 more
12 years, 5 months