CupCarbon icon indicating copy to clipboard operation
CupCarbon copied to clipboard

Error: com.apple cannot be resolved

Open PaawanS opened this issue 4 years ago • 13 comments

I am getting error in cupcarbon.java line 74. com.apple cannot be resolved. I am compiling source code in Windows 10. Please help.

PaawanS avatar Jun 07 '20 15:06 PaawanS

Please, try to find something in this page: https://apple.stackexchange.com/questions/131662/fresh-install-of-eclipse-on-10-9-2-cannot-access-com-apple-eawt-package-contents It seem that it is a problem of eclipse configuration (new version.

Le dim. 7 juin 2020 à 17:24, PaawanS [email protected] a écrit :

I am getting error in cupcarbon.java line 74. com.apple cannot be resolved. I am compiling source code in Windows 10. Please help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bounceur/CupCarbon/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMUQY7LNJJ2OSKEBH6LZYLRVOWJRANCNFSM4NXKZFOA .

bounceur avatar Jun 07 '20 17:06 bounceur

Thanks Bounceur. I tried but in vain. I installed older versions of eclipse IDE also and followed all the steps , but no success.

PaawanS avatar Jun 07 '20 19:06 PaawanS

wich os are you using?

Le dim. 7 juin 2020 à 21:22, PaawanS [email protected] a écrit :

Thanks Bounceur. I tried but in vain. I installed older versions of eclipse IDE also and followed all the steps , but no success.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bounceur/CupCarbon/issues/11#issuecomment-640266701, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMUQY47JEDZZAKY7QR3HH3RVPSFRANCNFSM4NXKZFOA .

bounceur avatar Jun 07 '20 19:06 bounceur

Windows 10.

PaawanS avatar Jun 08 '20 02:06 PaawanS

Are you using the source code or the executable file (jar)?

Le lun. 8 juin 2020 à 04:05, PaawanS [email protected] a écrit :

Windows 10.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bounceur/CupCarbon/issues/11#issuecomment-640322100, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMUQY66YHCU7AIDOQN4VEDRVRBPTANCNFSM4NXKZFOA .

bounceur avatar Jun 08 '20 17:06 bounceur

Source code. Jar file I was able to use flawlessly. But i thought may be using compiled version from source code reveal more features.

PaawanS avatar Jun 08 '20 17:06 PaawanS

I am getting the same error on 64bit Linux Ubuntu 18.04.

I can't find Windows or Linux support mentioned anywhere. Is it meant to run on Mac OS only ?

rndpk avatar Jul 08 '20 14:07 rndpk

hello i just installed cupcarbon i got the same error 'com.apple cannot be resolved' i tried another version of eclipse and did the recommended steps and still find the same error is cupcarbon works on linux operating system only or it can be downloaded on windows ? please if you can reply as fast as you can , i have a deadline to present my project so i will have more time to work thank you

cf011 avatar Jul 30 '20 14:07 cf011

Hi and thank you for your email, CupCarbon can work on Mac, windows and linux. I am using MaxOs and it works normally. Can you tell me which kind of error you are referring to? Best regards,

Le jeu. 30 juil. 2020 à 16:42, cf011 [email protected] a écrit :

hello i just installed cupcarbon i got the same error 'com.apple cannot be resolved' i tried another version of eclipse and did the recommended steps and still find the same error is cupcarbon works on linux operating system only or it can be downloaded on windows ? please if you can reply as fast as you can , i have a deadline to present my project so i will have more time to work thank you

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bounceur/CupCarbon/issues/11#issuecomment-666412197, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMUQY4BLJ5CHGC5LFGBAU3R6GBEDANCNFSM4NXKZFOA .

bounceur avatar Jul 30 '20 14:07 bounceur

the error that i found is that com.apple cannot be resolved how can i solve this problem?

cf011 avatar Jul 30 '20 14:07 cf011

Sorry, can you give me more details about the error.

Le jeu. 30 juil. 2020 à 16:51, cf011 [email protected] a écrit :

the error that i found is that com.apple cannot be resolved how can i solve this problem?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bounceur/CupCarbon/issues/11#issuecomment-666420767, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMUQY7O5BDS74EDWET7TBLR6GCHPANCNFSM4NXKZFOA .

bounceur avatar Jul 30 '20 21:07 bounceur

Hi, I just want to share how I dealt with the issue in windows. Disclaimer: I don't know if this is the right way to fix it, but it works for me.

In CupCarbon.java, I'm Just commenting that part:

/*if(os != null && os.startsWith("Mac")) { macos = true; URL iconURL = CupCarbon.class.getResource("cupcarbon_logo.png"); java.awt.Image image = new ImageIcon(iconURL).getImage(); com.apple.eawt.Application.getApplication().setDockIconImage(image); }*/

Hope that helps.

Cheers

Zorsick avatar Sep 23 '21 06:09 Zorsick

Hi, very good, it is correct ;-) Thank you for using CupCarbon Ahcène

Le jeu. 23 sept. 2021 à 08:10, Zorsick @.***> a écrit :

Hi, I just want to share how I dealt with the issue in windows. Disclaimer: I don't know if this is the right way to fix it, but it works for me.

In CupCarbon.java, I'm Just commenting that part:

/if(os != null && os.startsWith("Mac")) { macos = true; URL iconURL = CupCarbon.class.getResource("cupcarbon_logo.png"); java.awt.Image image = new ImageIcon(iconURL).getImage(); com.apple.eawt.Application.getApplication().setDockIconImage(image); }/

Hope that helps.

Cheers

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bounceur/CupCarbon/issues/11#issuecomment-925530542, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMUQY5CYTBZLE3CVTI3QDLUDLAFZANCNFSM4NXKZFOA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

bounceur avatar Sep 23 '21 11:09 bounceur