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 216313 - Cannot run file in internal Web Browser - java.lang.ClassNotFoundException
Summary: Cannot run file in internal Web Browser - java.lang.ClassNotFoundException
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Embedded Browser (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 09:55 UTC by Vladimir Riha
Modified: 2012-09-03 12:54 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (45.04 KB, text/plain)
2012-08-02 18:36 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-08-02 09:55:02 UTC
To reproduce
- create a new HTML/Javascript project
- create index.html
- right click on index.html and select "Run"
- I do not have javafx on classpath, so I'm asked to specify the path to javafx, hit Browse
- select JavaFX dir and confirm the dialog
- IDE freezes with "java.lang.ClassNotFoundException:"

This worked in Build EaselCSS-406. It also doesn't work in build 416

  Product Version         = NetBeans IDE Dev (Build EaselCSS-419-on-20120802) (#b0298da7a1c6)
  Operating System        = Linux version 3.0.0-23-generic running on i386
  Java; VM; Vendor        = 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b09; Oracle Corporation

JavaFX version : 2.2.0 b19 (also tried b20)
Comment 1 Vladimir Riha 2012-08-02 18:36:49 UTC
Created attachment 122693 [details]
IDE log

sorry for forgetting to attach the log
Comment 2 Stanislav Aubrecht 2012-08-02 19:08:56 UTC
Embedded browser needs JavaFX runtime version 2.2 build 15 or better.
Comment 3 Vladimir Riha 2012-08-02 19:20:04 UTC
I'm sorry but I have tried build 19 and build 20 (as written in description) and it worked for easel build 406 and not in 416 or 419.
Comment 4 Stanislav Aubrecht 2012-08-03 08:16:36 UTC
Runtime sub-folder in JavaFX has been renamed from 'rt' to 'jre'. So when using the embedded browser either specify full path to the runtime folder (as instructed in the browser window) instead of SDK or just wait till this fix propagates to the next build.

web-main 3067fd1fba91
Comment 5 Vladimir Riha 2012-08-29 06:06:09 UTC
verified, thanks a lot

Product Version: NetBeans IDE Dev (Build EaselCSS-589-on-20120829)
Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
Comment 6 Quality Engineering 2012-09-03 12:54:09 UTC
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3067fd1fba91
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #216313 - runtime folder in JavaFX SDK has been renamed to jre