Fonts are not showing in font chooser options of netbeans? - netbeans-7

I am running windows xp and using netbeans 7.1.2 (Build 201204101705).
When i go to change the font in Tools->Options->Font&Colors
It shows just 5 Font options to select
Dialog
Sansserif
Serif
MonoScaped
DialogInput
Other fonts are not showing? Why? What is the error? or how to solve it?

I found this bug on the Netbeans` website useful. It seems to be related to the JDK version.
Jiri Prox 2013-05-30 14:06:29 UTC
Font chooser in Fonts & Colors tab contains only 5 fonts. See the screenshot.
This issue is JDK related, since it happens only with 1.7.0._25
Product Version: NetBeans IDE 7.3.1 (Build 201305291404) Java:
1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b13 System: Windows 7 version
6.1 running on amd64; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.3.1 Cache directory:
C:\Users\jprox\AppData\Local\NetBeans\Cache\7.3.1

Related

IntelliJ add Java 11

I need to add my installed Java 11 version to the project settings, because of this error (Error:java: invalid source release: 11).
When i go to project structure -> Project settings -> Project there it just shows Java 1.8.
When i try to add "java-11-openjdk-amd64" it fails with the reason "The selected directory points to a JRE, not a JDK.".
java -version
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.4+11)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
The java application is available in the Java Runtime Environment (JRE). The fact that java is available in version 11 does not necessarily mean that the Java Development Kit (JDK) is also installed for version 11. However, IntelliJ needs the JDK which includes tools like the compiler javac.
In order to use Java 11 in IntelliJ, you need to install the Java 11 JDK.
For example on Ubuntu you can do that by executing:
sudo apt install openjdk-11-jdk

Font is installed but doesn't show in the menu of JetBrains IntelliJ IDEA

I have updated IntelliJ IDEA recently (I have the latest possible version and build at the moment - see at the bottom) and since then my previously well chosen font with ligatures doesn't show anymore (I don't remember its name). Previously the fonts were provided in a menu, 5-6 of them and you would choose one within the IDE, but now there are a lot of fonts to choose from which I guess are taken from the system.
However, I followed these instructions from this post but still the font is not showing in the menu.
I have installed the font Fira Code (all available .ttf files: Bold, Light, Medium, Regular and Retina) on Windows, so e.g. it is available in Microsoft Word:
but even after restart it is not available in IntelliJ IDEA:
Any suggestion how to fix this?
IntelliJ IDEA 2019.2 (Ultimate Edition)
Build #IU-192.5728.98, built on July 23, 2019
Runtime version: 11-ea+125 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
The font must be installed as an Administrator (install for all users option).
You do this by opening the context menu of the font file, then click "Install for all users".

IntelliJ IDEA can't show some code characters on a regular basis

As you can see, in my IntelliJ IDEA, some code characters were hidden on the editor. After restarting the IDE, the problem will be solved occasionally. Why did it happen?
Issue:
IDE and OS:
IntelliJ IDEA 2017.1.2
Build #IU-171.4249.39, built on April 25, 2017
JRE: 1.8.0_112-release-736-b16 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.3
Note:
I've tried to switch IDE boot JDK to oracleJDK, it seems to solve the problem mentioned above, but some of the features of the IDE have failed :(

Using WebKit for SWT Browser inside Eclipse plugin

I tried today to use the WebKit as the Browser's underlying renderer for my eclipse plugin but no luck.
I followed the recommended instructions and my current environment is as follows:
OS: Windows 7 (x64)
Safari installed (in the PATH too)
32 bit SWT (eclipse RCP indigo SR1 32)
added the following line to eclipse.ini
-Dorg.eclipse.swt.browser.DefaultType=webkit
Now when I try to instantiate the browser:
Browser b = new Browser(parent, SWT.WEBKIT);
b.setUrl("http://whatismybrowser.com");
I get the following error:
Failed to load the swt-webkit library
Any suggestions?
Thanks.
I got this problem too
What you need to do use
JVM : 32bit
SWT :32 bit
set the safari.exe path in your environment settings , (If you are using older version of Windows)
Else if SWT and JVM are not of same 32 bit it will generate error .

How do i configure WebLogic 8.1 to use a specific JRE / JDK on my development machiine

How do i configure WebLogic 8.1 to use a specific JRE / JDK on my development machine. I realized that it is using hot spot and i would like to change it to run on JRockit.
You need to change the JAVA_VENDOR setting in the setDomainEnv.sh/.cmd file (depending whether you are running a Linux or Windows box).
Adding/changing the following lines to the start of your setDomainEnv file should work:
set JAVA_VENDOR=BEA
set BEA_JAVA_HOME=(path to your jrockit installation, e.g. c:\BEA\jrockit)
Now you should start the server. You can monitor, in the console (stdout), the indication about which Java version is being used:
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, compiled mode)
It is also possible to do it during the configuration wizard, when you are adding a domain, under the Java SDK Selections tab.