javax support missing [message #1854355] |
Mon, 15 August 2022 19:38  |
Eclipse User |
|
|
|
I installed a new version of Eclipse and java on my Mac. I have created HelloWorl and other simple code, but when I try to import or use the javax.sound.midi stuff, I get "cannot resolve to a type." Annotations too, RowSet (SQL)
Eclipse is just not seeing any of the javax stuff, and I've spent hours trying to figure this out. Help!!!
Versions
MacOS: 12.5
Java: 16.0.2
sh-3.2# java -version
java version "16.0.2" 2021-07-20
Java(TM) SE Runtime Environment (build 16.0.2+7-67)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.2+7-67, mixed mode, sharing)
Eclipse:
Version: 2022-06 (4.24.0)
Build id: 20220609-1112
[Updated on: Tue, 16 August 2022 20:09] by Moderator Report message to a moderator
|
|
|
|
Re: javax support missing [message #1854380 is a reply to message #1854360] |
Tue, 16 August 2022 19:02   |
Eclipse User |
|
|
|
Yes, I'm sure. I type:
import javax. then dot .
I get a drop down and I can select sound or sound.midi
Btw, if I have import javax.sound, dot . does not give me a drop down where I can select midi
If I put a dot after javax.sound.midi
nothing. I put an asterisk
import javax.sound.midi.*;
I should now be able to instantiate Sequence and all that good midi stuff but can't. I get that can't resolve to a type error. Annotations same issue. SQL ditto.
No one has ever seen this before? Sigh!
|
|
|
|
Re: javax support missing [message #1854384 is a reply to message #1854383] |
Wed, 17 August 2022 03:10   |
Eclipse User |
|
|
|
I know how to code java. There is something not right about my environment, and I guess I'll have to try something else. I wish someone on this forum might say, yeah, try this.
|
|
|
|
Re: javax support missing [message #1854401 is a reply to message #1854384] |
Wed, 17 August 2022 11:45   |
Eclipse User |
|
|
|
Dave Godbey wrote on Tue, 16 August 2022 23:10There is something not right about my environment, and I guess I'll have to try something else.
Tell us about your project setup.
|
|
|
|
Re: javax support missing [message #1854418 is a reply to message #1854414] |
Thu, 18 August 2022 06:06  |
Eclipse User |
|
|
|
No matter which forum to which you post, you'll need to share more details because if it works for everyone except you we need to understand what's different in the project where you are trying to do this. That's why Nitin asked you to share details about the project's setup. Note that you share screen captures by using Preview Quick Reply and the Upload File.
|
|
|
Powered by
FUDForum. Page generated in 0.08802 seconds