IPB

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> Pb ouverture Eclipse PHP avec Big Sur [RESOLU]
Options
Eddoul
posté 16 Nov 2020, 11:02
Message #1


Macbidouilleur d'argent !
***

Groupe : Membres
Messages : 629
Inscrit : 21 Dec 2007
Membre no 103 074



Bonjour,

Depuis que je suis passé à l'Os 11.0.1 Big Sur, je n'arrive plus à utiliser Eclipse.
J'ai ceci :
Code
The JVM shared library "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib"
does not contain the JNI_CreateJavaVM symbol.


J'ai la dernière version de Java : 8 Mise à jour 271

J'ai réinstallé Eclipse

Rien n'y fait.

Auriez-vous une explication ?

Merci.

Eddy

Ce message a été modifié par Eddoul - 24 Nov 2020, 09:51.


--------------------
Machines en ma possession :
- Imac 20", 4,3Ghz, HDD 250, 4Go RAM
Go to the top of the page
 
+Quote Post
Eddoul
posté 16 Nov 2020, 11:23
Message #2


Macbidouilleur d'argent !
***

Groupe : Membres
Messages : 629
Inscrit : 21 Dec 2007
Membre no 103 074



je ne sais pas si ça peut être utile :

Code
iMac-de-Bene-2:~ eddy$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:                        EFI ⁨EFI⁩                     209.7 MB   disk0s1
   2:                 Apple_APFS ⁨Container disk2⁩         1000.0 GB  disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *28.0 GB    disk1
   1:                        EFI ⁨EFI⁩                     314.6 MB   disk1s1
   2:                 Apple_APFS ⁨Container disk2⁩         27.7 GB    disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +1.0 TB     disk2
                                 Physical Stores disk1s2, disk0s2
   1:                APFS Volume ⁨Macintosh HD - Données⁩  950.6 GB   disk2s1
   2:                APFS Volume ⁨Preboot⁩                 285.1 MB   disk2s2
   3:                APFS Volume ⁨Recovery⁩                655.6 MB   disk2s3
   4:                APFS Volume ⁨VM⁩                      3.2 GB     disk2s4
   5:                APFS Volume ⁨Macintosh HD⁩            14.9 GB    disk2s5
   6:              APFS Snapshot ⁨com.apple.os.update-...⁩ 14.9 GB    disk2s5s1

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk3
   1:                        EFI ⁨EFI⁩                     209.7 MB   disk3s1
   2:                  Apple_HFS ⁨Save_Bene⁩               1.5 TB     disk3s2
                    (free space)                         134.8 MB   -
   3:       Microsoft Basic Data ⁨HD_Bene⁩                 2.5 TB     disk3s3
                    (free space)                         135.2 MB   -

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +500.2 MB   disk4
   1:                  Apple_HFS ⁨Eclipse⁩                 500.1 MB   disk4s1

/dev/disk5 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +524.3 MB   disk5
   1:                  Apple_HFS ⁨Java 8 Update 271⁩       524.2 MB   disk5s1


--------------------
Machines en ma possession :
- Imac 20", 4,3Ghz, HDD 250, 4Go RAM
Go to the top of the page
 
+Quote Post
jeanjd63
posté 16 Nov 2020, 12:45
Message #3


Macbidouilleur d'Or !
*****

Groupe : Membres
Messages : 11 698
Inscrit : 15 Nov 2007
Lieu : Auvergne-Rhône-Alpe.
Membre no 99 922



Salut.

Regarde ceci qui pourrait t'aider : https://stackoverflow.com/questions/4251376...ssage-on-sierra
Go to the top of the page
 
+Quote Post
Eddoul
posté 16 Nov 2020, 13:56
Message #4


Macbidouilleur d'argent !
***

Groupe : Membres
Messages : 629
Inscrit : 21 Dec 2007
Membre no 103 074



merci pour ta réponse.

J'ai fait la dernière MAJ
Code
java -version
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)


Voici le fichier info.plist
Code
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<plist version="1.0">
  
  <dict>
        
    <key>CFBundleExecutable</key>
            
    <string>eclipse</string>
        
    <key>CFBundleGetInfoString</key>
            
    <string>Eclipse 4.17 for Mac OS X, Copyright IBM Corp. and others 2002, 2020. All rights reserved.</string>
        
    <key>CFBundleIconFile</key>
            
    <string>Eclipse.icns</string>
        
    <key>CFBundleIdentifier</key>
            
    <string>org.eclipse.platform.ide</string>
        
    <key>CFBundleInfoDictionaryVersion</key>
            
    <string>6.0</string>
        
    <key>CFBundleName</key>
            
    <string>Eclipse</string>
        
    <key>CFBundlePackageType</key>
            
    <string>APPL</string>
        
    <key>CFBundleShortVersionString</key>
            
    <string>4.17.0</string>
        
    <key>CFBundleSignature</key>
            
    <string>????</string>
        
    <key>CFBundleVersion</key>
            
    <string>4.17.0.I20200902-1800</string>
        
    <key>NSHighResolutionCapable</key>
            
    <true/>
        
    <key>CFBundleDevelopmentRegion</key>
            
    <string>English</string>
            
    
    <key>Eclipse</key>
            
    <array>
                  
      <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
                    or add a VM found via $/usr/libexec/java_home -V
                <string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
                <string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.8.0.jdk/Contents/Home/bin/java</string>
            -->
                  
      <string>-keyring</string>
      <string>~/.eclipse_keyring</string>
              
    </array>
    
    <key>CFBundleDisplayName</key>
    <string>Eclipse</string>
  </dict>
  
</plist>

mais je ne sais ce que je dois modifier


--------------------
Machines en ma possession :
- Imac 20", 4,3Ghz, HDD 250, 4Go RAM
Go to the top of the page
 
+Quote Post
jeanjd63
posté 16 Nov 2020, 14:03
Message #5


Macbidouilleur d'Or !
*****

Groupe : Membres
Messages : 11 698
Inscrit : 15 Nov 2007
Lieu : Auvergne-Rhône-Alpe.
Membre no 99 922



Tu as installé java SE ou java SDK ?

Il me semble (je ne connais pas eclipse) que c'est le jdk qui est demandé là?????

Ce message a été modifié par jeanjd63 - 16 Nov 2020, 14:22.
Go to the top of the page
 
+Quote Post
Eddoul
posté 16 Nov 2020, 14:07
Message #6


Macbidouilleur d'argent !
***

Groupe : Membres
Messages : 629
Inscrit : 21 Dec 2007
Membre no 103 074



j'ai ceci dans eclipse.ini
Code
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1300.v20200819-0940
-product
org.eclipse.epp.package.php.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=11
[email protected]/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dosgi.requiredJavaVersion=11
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx2048m
--add-modules=ALL-SYSTEM
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts


--------------------
Machines en ma possession :
- Imac 20", 4,3Ghz, HDD 250, 4Go RAM
Go to the top of the page
 
+Quote Post
Eddoul
posté 16 Nov 2020, 14:25
Message #7


Macbidouilleur d'argent !
***

Groupe : Membres
Messages : 629
Inscrit : 21 Dec 2007
Membre no 103 074



Citation (jeanjd63 @ 16 Nov 2020, 14:03) *
Tu as installé java SE ou java SDK ?

Il me semble (je ne connais pas eclipse) que c'est le jdk qui est demandé là?????

comment le savoir ?


--------------------
Machines en ma possession :
- Imac 20", 4,3Ghz, HDD 250, 4Go RAM
Go to the top of the page
 
+Quote Post
jeanjd63
posté 16 Nov 2020, 16:16
Message #8


Macbidouilleur d'Or !
*****

Groupe : Membres
Messages : 11 698
Inscrit : 15 Nov 2007
Lieu : Auvergne-Rhône-Alpe.
Membre no 99 922



Un début de réponse ici : https://wiki.eclipse.org/Eclipse/Installation
Go to the top of the page
 
+Quote Post
Eddoul
posté 24 Nov 2020, 09:51
Message #9


Macbidouilleur d'argent !
***

Groupe : Membres
Messages : 629
Inscrit : 21 Dec 2007
Membre no 103 074



merci à tous pour vos messages.
J'ai réinstallé Eclipse à partir de Eclipse installer : https://mac.developpez.com/telecharger/detail/id/22/Eclipse
Il a également mis à jour Java
C'est tout bon : dernière version de Eclipse : 2020-09
ça fonctionne

A+

Eddy


--------------------
Machines en ma possession :
- Imac 20", 4,3Ghz, HDD 250, 4Go RAM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



Nous sommes le : 26th April 2024 - 06:42