Table of Content

Question 1
I cannot config the user.email for my git.
git config --global user.email user@example.com
error: could not lock config file /home/username/.gitconfig: No such file or directory
If you see this error. Likely you need to run your terminal or command prompt as administrator.

Question 2
My build failed in Netbeans due to invalid target release.
This is due to different JDK used in the project and the JDK used in your IDE.

To resolve this, right click your project > Resolve Project Problems

Click on Resolve... button

Select Downgrade Project source the the JDK used by your IDE.

Run the Project, you should be able to run it now.

תגובות