Netbeans 8.2 Bad Editor Text - java

Just installed Netbeans IDE 8.2 today and this happened
Search through many forums, still can't find the answer. I tried to change the font, but still can't work.
My System :
Product Version: NetBeans IDE 8.2 (Build 201609300101)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 1
Java: 1.8.0_112; Java HotSpot(TM) 64-Bit Server VM 25.112-b15
Runtime: Java(TM) SE Runtime Environment 1.8.0_112-b15
System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
Question:
How can I fix this? And what does that red line do?

Tools -> Options -> Fonts and Colors -> Pick a profile (Reset if you have made changes to it) and you should be good to go!

So, I've found a solution, despite it isn't a perfect solution for this problem.
I tried to change the font to Consolas, and it looks 99% normal.
Fixed

Related

zap is not installing

i dont know why its not installing i dont know what to do error image
its showing this i did instal java 64 bit jre its not working please hele me
i tride to delete and install again it did'nt work
i delete it many times and install
still its not installing zap its showing the same thing locate java 64 bit file
i also tride to locate the file it did'nt work but i dont know where the file is if i know where the file is its not selecting the file
Based on the error message:
You didn't install a JRE >= Java 11.
You installed a 32bit JRE.
Your JRE can't be found. (If you're using Adopt OpenJDK or Temurin, etc. [I can't think of all of them.] there's an option to set JAVA_HOME and JavaSoft registry keys, you should enable those. Plus may need to reboot before installing [thanks Windows 🤷‍♂️].)
I have had this issue myself. ZAP really is a PITA on Windows. One thing I noticed is that on my Windows host, which will not run the ZAP installer, I'm using Oracle's Java:
C:\Users\Administrator>java -version
java version "1.8.0_361"
Java(TM) SE Runtime Environment (build 1.8.0_361-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.361-b09, mixed mode)
on my Linux host which runs it fine:
──(kali㉿PwnBox)-[~]
└─$ java -version
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment (build 17.0.6+10-Debian-1)
OpenJDK 64-Bit Server VM (build 17.0.6+10-Debian-1, mixed mode, sharing)
So I deduce the difference is that ZAP doesn't like Oracle's JRE and wants OpenJDK/JRE. Thankfully, there are builds available for Windows here:
https://learn.microsoft.com/en-us/java/openjdk/download
So give that a go. In my instance I have other software that depends on Oracle's JRE, so I do not want to endanger that apps reliability by installing another JRE. So I just use ZAP 2.12 on my Linux host and ZAP 2.11 on Windows, which runs fine in Oracle JRE.
Side Note:
ZAP really is half-baked. As far as web app testing goes, I pay for BurpSuite Pro because it's so vastly superior in every measurable way. I have all kinds of headaches with ZAP and it's always a battle. That's if it can even finish a scan without crashing on larger apps (it usually can't).
Anyway, I hope this helps. But I would also suggest seeking out alternatives to ZAP until the developers get their act together. Then again, I guess you get what you pay for, so......

SDK error message on IntelliJ IDE

I am new to this community and have this problem:
I downloaded the IntelliJ IDEA IDE for Windows (x64) and i can not run a single line of code, there always comes the error message:
Cannot start compiler: the SDK is not specified for module "XY".
Specify the SDK at Project Structure dialog.
I followed the instructions on their Website and downloaded the SDK for Windows x64 here.
Now I used to set up everything, but it doesn't work as planned. In fact it is the same error as before.
I am glad for any help, thanks! :)
First make sure you have installed JDK on your system. Open the command line and type: java -version.
You should get something like:
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
Then open your project in IntelliJ IDEA and go to Project Structure → Project tab (Ctrl+Alt+Shift+S on Windows OS) and add new JDK by providing its local path like C:\Program Files\Java\jdk1.8.0_60:

Unable to install Java Runtime (6) on Mac

I'm having a problem of installing java SE runtime 6 on mac, without that, I can't open my eclipse or install Intellij. However, I download the .dmg through an Apple - Java link, but it just doesn't install!
And there's no error message, just the page of falling installation.
I really don't know how to solve it.
This is kind of an update of my problem... I used to have Java SE runtime 6 and tried to install jdk 1.8 and failed. Same picture appeared. Just said failed installing with no error messages. I guessed might be a conflicts? and deleted Java 6 and basically can't run eclipse & Intellij (this solved thought) I still have java 1.7 here.
I just can't figure out why I can't install (or reinstall) java 1.6 or java 1.8. What could be the problem?
Some system updates:
if I do: "which java":
/usr/bin/java
if "echo $JAVA_HOME":
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
if java -version:
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
What could be possibly wrong?!!!????
God
You need to get Java directly from Oracle (http://www.oracle.com/technetwork/java/javase/downloads/index.html) as Apple stopped supporting Java some time ago. Unless you have pressing reasons for using Java 6 I suggest also installing at least Java 7, although you can have all three versions installed and select the appropriate version for the app you want to run/develop.
Edit Also, if you want to use Eclipse or IntelliJ (go for IntelliJ) you want to get the JDK and not the "runtime" (JRE).

netbeans project collapses tree menu

NetBeans project collapses tree menu, but this did not occur earlier.
Product Version: NetBeans IDE 7.4 (Build 201310111528)
NetBeans IDE NetBeans 7.4 Patch 2
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1251; ru_RU (nb)
Usually for that kind of issues there is no solution. Try to report the bug to the netbeans community if it is not already reported. If you want to have a clear solution to your problem change you netbeans to an earliest version or reinstall this particular version.
PS: You should update you Java version to the latest one (1.7.0_51).
there may be some issues with the istallation processes try
1) reinstaiing
2) changing perspective mode
3) refeshing project
The problem may be with your Netbeans compatibility, because you are using 64 bit system. Your Netbeans is might be compatible with 32 bit system only. Or other possible thing is that Netbeans is not installed properly.
So to solve this problem you can do this:
Reinstall Netbeans
Search for 64 bit compatible Netbeans version, Download it, and then install it properly.
Delete your existing project and create a new project.

Netbeans 7.3.1 broken

As you can see on this screenshot:
Some buttons on this window are missing
The "Please wait..." text does not change change and nothing is loaded
I can close the window but I can never create a project
I tried to re-install and delete all Netbeans related stuff but the problem remains
It seems related to a Java VM problem but Eclipse and PhpStorm are working without problem.
My Java version:
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.10.04.2)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
My system is Ubuntu 10.04 LTS.
As explained in the installation instructions you need the JDK7 if you want to use any of the Java features.

Categories

Resources