This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 231479 - Wrong Java platform in EJB JEE7 Application
Summary: Wrong Java platform in EJB JEE7 Application
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 03:55 UTC by alied
Modified: 2013-07-18 06:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2013-06-19 03:55:50 UTC
Environment info:
Product Version: NetBeans IDE 7.4 Beta (Build 201306132201)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.9.4 running on amd64; UTF-8; es_AR (nb)
User directory: /home/alied/.netbeans/7.4beta
Cache directory: /home/alied/.cache/netbeans/7.4beta

In test "Create Enterprise Application", with JEE7 and (of course...) GlassFish 4, installed with Netbeans JEE Bundle, the EJB project created has the following error:
"No such Java Platform: JDK_1.7", while the only Java platform registered in the IDE is "JDK 1.7 (Default)"
Maybe space in the platform name is the problem? The Properties dialog has correct the Java Platform. Clicking OK fixes it.
Comment 1 Martin Janicek 2013-06-25 09:31:48 UTC
Valid issue, thanks for the report ! I'll take a look at it..
Comment 2 Martin Janicek 2013-07-18 06:26:36 UTC
Fixed in: web-main #cc494350006c