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 270922 - Classpath command does not work correctly
Summary: Classpath command does not work correctly
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JShell (show other bugs)
Version: Dev
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-21 08:17 UTC by Jiri Prox
Modified: 2017-06-21 08:30 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 Jiri Prox 2017-06-21 08:17:02 UTC
/Classpath  command does not work correctly

I've used:

/classpath d:\libs\javax.mail.jar

to add mail.jar on classpath. Then when using code completion to add 'Address' correctly inserts as:

import javax.mail.Address;
Address s;

but when confirmed by enter the error is displayed:

|  Error:
|  package javax.mail does not exist
|  import javax.mail.Address;
|         ^----------------^



Product Version: NetBeans IDE Dev (Build 201706210001)
Java: 9-ea; Java HotSpot(TM) 64-Bit Server VM 9-ea+170
Runtime: Java(TM) SE Runtime Environment 9-ea+170
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev