blakcberry os 7 simulator loading forever - eclipse

I've installed simulator os 7 and its loading forever. (its good with simulator os <= 6)
My problem is just like :
blakcberry os 7 simulator not loading on my system
and the problem looks like not solved yet.
My System:
Processor: Intel core 2 duo #2GHz
Ram: 4 GB
Windows 7 ultimate 32 bit service pack 1, with UAC off
Java sdk 1.6 update 31
IDE: eclipse galileo 3.5
Blackberry plugin 1.1.2
is there any suggestion, step, or something configuration how to solve this

Your versions of Eclipse and the BlackBerry plugin are pretty old, might be worth updating them to see if that makes a difference. Current versions are
Eclipse: Indigo 3.7
BB Plugin: 1.5.2
As another commenter has said, your hardware is pretty old as well and the simulator is very resource intensive. To give you an idea of simulator performance here's my spec:
CPU: Intel i7 2700K (overclocked to 3.4GHz)
RAM: 16GB
HDD: 128GB Samsung 830 SSD
OS: Windows 7 Professional 64 bit
Eclipse: Indigo 3.7.2 (in eclipse.ini I have the following flag: -Xmx768m)
BB Plugin: 1.5.2
BB Simulator: Bold 9930
Running (not debugging) the simulator takes 17 seconds to load.

Related

Setup remote development Using Netbeans 12 for Raspberry PI

I have been trying to use Netbeans 12 IDE to remote develop on the Raspberry PI. I have got the JDK 17 installed on the PI. I can add a platform, attach it to the PI and test the platform, the platform manager says the test is successful. However, when I try to change the platform in the project settings the remote platform does not appear in the drop-down list as the examples all show. I have tried several videos and various program settings, but no success. I have tried reading all the documentation I could but I keep going in circles. Does anyone have any pointers to what I need to do?
Versions:
Product Version: Apache NetBeans IDE 12.5 Updates: NetBeans IDE is
updated to version NetBeans 8.2 Patch 2 Java: 17.0.1;
Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39 Runtime:
Java(TM) SE Runtime Environment 17.0.1+12-LTS-39 System:
Windows
10 version 10.0 running on amd64; Cp1252; en_US (nb)
Examples:
[Setup PI for Remote Development]
https://blog.idrsolutions.com/2014/08/using-netbeans-remotely-deploy-projects-raspberry-pi/
[Video setting up remote PI]
https://www.youtube.com/watch?v=EXy5Ysp3yp4
[Instructions to setup Netbeans development with the PI]
https://www.instructables.com/Efficient-Development-of-Java-for-the-Raspberry-Pi
[Setting up Java ME on Raspberry PI]
https://docs.oracle.com/javame/8.2/MEEPG.pdf
Images:
[Java Plataform Manager]
https://i.stack.imgur.com/IFPbp.png
[Successful Test]
https://i.stack.imgur.com/xgGzf.png
[Project Properties, Raspberry PI Not in Drop Down]
https://i.stack.imgur.com/YFaXl.png

Can not generate code for Dual Core STM32H MCU on CubeMX

I have a problem to generate a code for MKD or IAR EWARM on CubeMX. I have a NUCLEO-H755ZI-Q development board.
I can generate the code for others MCU or Nucleo Botrads, but i have seen that this problem is only related to any MCU with dual core like STM32H755/745 and STM32H747. if I choose another card, the code generation is fine.
I have tried to reinstall all ( CubeMX, CubeIDE,MDK, downloading Packages..), all time the error message appears after code generating :
''the code is succesfully generated under [.....] but MDK-ARM 5.27 generation project but have a problem''.
I use the latest version of CubeMX : v6.0.1
Thank you for advance,
I searched on the net and in the STM32 documentation, I found maybe a reason ;
in the St CubeMx Software requirements( UM1718 and RN0094) i find :
"The use of Java™ Runtime Environment (JRE) 64 bits is mandatory. JRE 32 bits is no more supported.
The JRE minimal version is 1.8_45. The version 1.8_251 must not be used (known Java issue).
Java 11 is supported. Java 7, Java 9, Java 10, Java 12 and upper are not supported."
I can finally generate the code by uninstalling all the Java SE and JDK versions that I had on my pc. I only installed Java JDK 11.0.9 64bit.
I can open the project, but there are still some errors during compilation because the project structure needs to be adjusted.

What are the available precision of system clock for Java 8 and 11 in each platform (windows, macOS, Linux)?

I'm aware that Java 8 (Oracle) system Clock implementation is limited to milliseconds at most, and that Java 9+ fixed that so in principle could get up to nanoseconds from the underlying clock. But then the underlying clock resolution may be ticking in steps of 1000ns or 100ns or 10ms, etc.
I know that in macOS Mojave the Java 8 clock give me resolution of 1ms and with Java 11 the resolution is 1ns
System.out.println(Instant.now()); // macOS Mojave Java 8 : 2019-11-15T09:04:32.714Z
System.out.println(Instant.now()); // macOS Mojave Java 11: 2019-11-15T09:01:30.867915Z
Is there a list of the actual precision / accuracy / resolutions per Java platform and OS?
Java 8
Up to milliseconds
Windows 10:
Linux 2.4: 10 ms (if I interpret right time(7))
Linux 2.6:
macOS Mojave: 1ms resolution
Java 11
Windows 10:
Linux 2.4:
Linux 2.6:
macOS Mojave: 1ns resolution

Visual Studio Code took 10.7 GB RAM usage after using it for one hour

It happened today when I suddenly noticed processes started getting slow on the computer. So I checked Task Manager to see what causes it.
I have waited a couple of minutes to see if it changes by keeping Visual Studio Code in idle state and then my computer dumps the memory in BSoD (blue screen of death).
After rebooting, I tried the same way to reproduce the state and within 20~30 minutes, it is up to 5 GB.
0 909 4452 c:\Users\arbaz\.vscode\extensions\ms-python.python-2018.12.1\languageServer.0.1.72\Microsoft.Python.LanguageServer.exe
What are the possible reasons causing this and how do I fix it?
Latest version:
Version: 1.30.0 (system setup)
Commit: c6e592b2b5770e40a98cb9c2715a8ef89aec3d74
Date: 2018-12-11T22:29:11.253Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Windows_NT x64 10.0.17134
Version: Code 1.30.0 (c6e592b2b5770e40a98cb9c2715a8ef89aec3d74, 2018-12-11T22:29:11.253Z)
OS Version: Windows_NT x64 10.0.17134
CPUs: AMD Ryzen 7 1700 Eight-Core Processor (16 x 3000)
Memory (System): 15.95 GB (3.87 GB free)
VM: 40%
Screen Reader: no
Process Argv: C:\Users\arbaz\AppData\Local\Temp\tasks.py
GPU Status: 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
CPU % Mem MB PID Process
0 66 14620 code main
0 84 1092 gpu-process
0 51 6332 shared-process
0 199 8312 window (tasks.py - Visual Studio Code)
0 85 11724 extensionHost
0 2278 4452 c:\Users\arbaz\.vscode\extensions\ms-python.python-2018.12.1\languageServer.0.1.72\Microsoft.Python.LanguageServer.exe
0 5 11296 console-window-host (Windows internal process)
0 187 14320 window (Process Explorer)
Extensions:
Extension Author Version
(truncated)
-------------------------------------------------------
better-comments aar 2.0.3
vscode-django bat 0.17.0
unique-lines bib 1.0.0
python-extension-pack don 1.4.0
permute-lines ear 0.0.10
MagicPython mag 1.1.0
python ms- 2018.12.1
vscodeintellicode Vis 1.1.2
This issue is mostly caused by the extensions.
Try to monitor menu Help → Open Process Explorer for a certain period to see which process name is taking large memory.
Try uninstalling all extensions and removing all their junk from %USERPROFILE%\.vscode\extensions for windows.
This problem happened to me yesterday. I managed to fix the problem, but I am not sure if my solution applies to yours. I'm using Windows 10 and Visual Studio Code version 1.33.1.
The solution is to go to settings and enable jedi. The culprit that was consuming excessive RAM was Python language server. So, by enabling jedi, instead of using the Python language server for the intellisense function, jedi was used instead.

Error when open eclipse - MAC

I have installed eclipse on my iMac and when I try to open it, it gives me this error:
Failed to find a Main Class in
"/Applications/Eclipse.app/Contents/MacOS//../Eclipse/ plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar".
On my MacBook Pro, everything works fine, but I have done nothing different.
I have checked other posts, but most of them refer to a windows OS. There was an answer which said that it can just open when everything is in an English folder and this is true for me!
Thanking you in advance!
I came across this error after installing Eclipse PDT.
Open your terminal and run the version command: java -version.
If your java version is below 1.8, you will have to update your Java
Runtime Environment to at least 1.8.0 by installing an updated JDK
here.
Then re-run the java version command and your version
should be updated.
You should now be able to install and run
Eclipse.
I have the same issue, but on my MacBookPro. I first installed eclipse Photon, which when starting up prompted me to install Java 6, which I did from https://support.apple.com/kb/DL1572?locale=en_US
Then I also installed the latest JRE (jre-8u171-macosx-x64 as of yesterday). When running eclipse again I started getting this error. Then I tried to run from the command line, and got this error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/equinox/launcher/Main : Unsupported major.minor version 51.0
When googling that, the answers said that the reason for that is that the Oracle installer does not update the symlink in /usr/bin, which seemed to be confirmed by the fact that running java -version returned this:
java -version
java version "1.6.0_65"
The solutions I found for that were not feasible in MacOS starting in version El Capitan, and I am on High Sierra, so I followed the instructions in this post to fix that, and it worked, now I get:
java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
After all of this, however, I get the same "Failed to find a Main Class" error on the dialog as reported initially here, and the same "UnsupportedClassVersionError" on the CLI that I had when the system was still on java 6, so now I am still stuck and out of ideas.
EDIT: FIXED IT!!
I kept thinking that the problem was the java version, it was somehow still using java 6 (which I had installed due to the initial prompt).
So I followed the instructions here to remove what I had installed for the alleged java 6 issue. Then I found this post in the eclipse forums, which stated at the end (comment added by Eric Rizzo on Tue, 14 February 2017 21:56) that this is not an Eclipse message, but rather an OS message, and that one should NOT do that as apple messed things up with that patch. And then it goes to explain that one should install java 8 JDK (NOT just the JRE as I had done). Once I removed Java 6 and installed the full java 8 JDK, it ran fine :)
You can edit the eclipse.ini with your vm configuration in the beginning of the file
-vm
/yourJvmPath/jdk-12.0.1.jdk/bin/java
cat /Applications/Eclipse.app/Contents/Eclipse/eclipse.ini
-vm
/Users/SomeUser/jdk-12.0.1.jdk/bin/java
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.400.v20190515-0925.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1000.v20190125-2016
PD. It works with ApacheDirectoryStudio for MAC
This one works for me with MAC OS Mojave.
You can download the Java SE Development Kit 8u221 for mac from the below link.
jdk-8u221-macosx-x64.dmg
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html