Problème avec Processing
Rantord
Messages postés
5
Date d'inscription
Statut
Membre
Dernière intervention
-
Rantord Messages postés 5 Date d'inscription Statut Membre Dernière intervention -
Rantord Messages postés 5 Date d'inscription Statut Membre Dernière intervention -
Bonjour à tous,
J'ai téléchargé Processing suite à la demande de mon professeur d'algorithmie, mais je rencontre un problème que j'ai tenté de résoudre maintes fois sans succès. Le voici :
Lorsque je rentre une commande simple, du type afficher un texte, à la sortie, le logiciel a compris qu'il fallait afficher quelque chose mais n'a pas l'air de connaître notre alphabet. Tout marche très bien, le seul problème est qu'il n'y a pas la retranscription voulue (c'est pareil avec les chiffres, il ne les comprend pas).
J'ai la version 3.3.6 sur Windows 64.
Je remercierai fortement la ou les personnes qui sauront m'aider.
J'ai téléchargé Processing suite à la demande de mon professeur d'algorithmie, mais je rencontre un problème que j'ai tenté de résoudre maintes fois sans succès. Le voici :
Lorsque je rentre une commande simple, du type afficher un texte, à la sortie, le logiciel a compris qu'il fallait afficher quelque chose mais n'a pas l'air de connaître notre alphabet. Tout marche très bien, le seul problème est qu'il n'y a pas la retranscription voulue (c'est pareil avec les chiffres, il ne les comprend pas).
J'ai la version 3.3.6 sur Windows 64.
Je remercierai fortement la ou les personnes qui sauront m'aider.
A voir également:
- Processing commande
- Invite de commande - Guide
- Commande terminal mac - Guide
- Commande dism - Guide
- Diskpart commande - Guide
- Commande scannow - Guide
1 réponse
Bonjour,
Je viens de télécharger Processing 3.3.6 et ça marche très bien chez moi...
Est-ce que tu pourrais exécuter le code suivant avec Processing afin d'obtenir la configuration détaillée qui est utilisé par Processing sur ton poste.
Tu peux éventuellement modifier la valeur de
Je viens de télécharger Processing 3.3.6 et ça marche très bien chez moi...
Est-ce que tu pourrais exécuter le code suivant avec Processing afin d'obtenir la configuration détaillée qui est utilisé par Processing sur ton poste.
import java.nio.file.*; import java.util.*; String report = "C:/ProcessingProperties.txt"; try { Files.write(Paths.get(report), Arrays.asList(System.getProperties().toString().replace(", ", "\n"))); } catch (Exception e) { e.printStackTrace(); }
Tu peux éventuellement modifier la valeur de
String reportpour changer l'emplacement du fichier, le but étant de nous copier-coller son contenu.
{java.runtime.name=Java(TM) SE Runtime Environment
sun.boot.library.path=C:\Users\ranto\Desktop\processing-3.3.6\java\bin
java.vm.version=25.144-b01
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
path.separator=;
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
file.encoding.pkg=sun.io
user.country=FR
user.script=
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=
jna.nosys=true
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\Users\ranto\Desktop\processing-3.3.6
java.runtime.version=1.8.0_144-b01
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=C:\Users\ranto\Desktop\processing-3.3.6\java\lib\endorsed
os.arch=amd64
java.io.tmpdir=C:\Users\ranto\AppData\Local\Temp\
line.separator=
java.vm.specification.vendor=Oracle Corporation
user.variant=
os.name=Windows 10
sun.jnu.encoding=Cp1252
java.library.path=;C:\Users\ranto\Desktop\processing-3.3.6\core\library;C:\Users\ranto\Desktop\processing-3.3.6\java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Users\ranto\AppData\Local\Microsoft\WindowsApps;C:\Users\ranto\AppData\Roaming\Dashlane\4.8.9.37516\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Users\ranto\AppData\Roaming\Dashlane\4.8.9.37516\ucrt;C:\Users\ranto\Desktop\processing-3.3.6\java\bin;.
sun.awt.enableExtraMouseButtons=true
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
os.version=10.0
user.home=C:\Users\ranto
user.timezone=
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=Cp1252
java.specification.version=1.8
java.net.useSystemProxies=true
java.class.path=C:\Users\ranto\AppData\Local\Temp\sketch_171015a2572681203699983682temp;C:\Users\ranto\Desktop\processing-3.3.6\core\library\core.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\gluegen-rt-natives-linux-aarch64.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\gluegen-rt-natives-linux-amd64.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\gluegen-rt-natives-linux-armv6hf.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\gluegen-rt-natives-linux-i586.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\gluegen-rt-natives-macosx-universal.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\gluegen-rt-natives-windows-amd64.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\gluegen-rt-natives-windows-i586.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\gluegen-rt.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\jogl-all-natives-linux-aarch64.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\jogl-all-natives-linux-amd64.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\jogl-all-natives-linux-armv6hf.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\jogl-all-natives-linux-i586.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\jogl-all-natives-macosx-universal.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\jogl-all-natives-windows-amd64.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\jogl-all-natives-windows-i586.jar;C:\Users\ranto\Desktop\processing-3.3.6\core\library\jogl-all.jar;lib;lib\pde.jar;core\library\core.jar;lib\jna.jar;lib\jna-platform.jar;lib\antlr.jar;lib\ant.jar;lib\ant-launcher.jar
user.name=ranto
java.vm.specification.version=1.8
sun.java.command=processing.core.PApplet --location=368,165 --external --display=1 --sketch-path=C:\Users\ranto\AppData\Local\Temp\untitled5811580791763576620sketches\sketch_171015a sketch_171015a
java.home=C:\Users\ranto\Desktop\processing-3.3.6\java
sun.arch.data.model=64
javafx.animation.fullspeed=true
user.language=fr
java.specification.vendor=Oracle Corporation
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
java.version=1.8.0_144
java.ext.dirs=C:\Users\ranto\Desktop\processing-3.3.6\java\lib\ext
sun.boot.class.path=C:\Users\ranto\Desktop\processing-3.3.6\java\lib\resources.jar;C:\Users\ranto\Desktop\processing-3.3.6\java\lib\rt.jar;C:\Users\ranto\Desktop\processing-3.3.6\java\lib\sunrsasign.jar;C:\Users\ranto\Desktop\processing-3.3.6\java\lib\jsse.jar;C:\Users\ranto\Desktop\processing-3.3.6\java\lib\jce.jar;C:\Users\ranto\Desktop\processing-3.3.6\java\lib\charsets.jar;C:\Users\ranto\Desktop\processing-3.3.6\java\lib\jfr.jar;C:\Users\ranto\Desktop\processing-3.3.6\java\classes
java.vendor=Oracle Corporation
file.separator=\
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.awt.noerasebackground=true
sun.desktop=windows
sun.cpu.isalist=amd64}
Donc la seule chose que je peux te proposer c'est d'installer un JDK à côté, mais je ne vois pas pourquoi ça changerai vraiment quelque chose.
Installation du JDK :
https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
Il faudra ensuite modifier les variables d'environnements
https://www.java.com/fr/download/help/path.html
Important : si la variable Path existe déjà, il faut garder son ancienne valeur, il s'agit uniquement d'ajouter au début la valeur mais il faut garder tout le reste sinon d'autres programmes pourraient ne plus fonctionner.
Un test pour vérifier que ça a marché : ouvrir une invite de commandes et vérifier que les deux commandes suivantes fonctionnent :
Ici, sketch_171015a représentant le dossier où tu auras préalablement enregistré ton Sketch de test avec ton code Hello World.
Est-ce qu'il y a une différence avec cette commande :