NetBeans - where to find the IDE log? - netbeans

I reported a bug to http://issues.apache.org I have to give them a IDE log, but I have no clue where to find it?
I searched in C:\Users\MyUser but there is no folder for netbeans.
I am on windows.

The logfile is stored in the "User Directory".
The location of the user directory is shown under "Help -> About".
Inside that directory the logfile itself can be found in the sub-directory var\log and is named messages.log
You can display the log file directly inside the IDE using "View -> IDE Log". The first view lines of the logfile also include the information about the user directory.
That is helpful if you just want to copy & paste a part of the logfile (e.g. the exception of the error you are reporting).

The NetBeans IDE keeps its log messages in a file called /var/log/messages.log in the NetBeans userdir.
Windows 7 : C:\Users\joe\AppData\Roaming\NetBeans\7.2\var\log\messages.log
Windows XP : c:\Documents and Settings\joe\Application Data\NetBeans\7.3\var\log\messages.log
Application Data directory is localised to your Windows XP installation language
Source : http://wiki.netbeans.org/FaqLogMessagesFile

For macOS it is located here:
/Users/{username}/Library/Application\ Support/NetBeans/{version}/var/log/messages.log

Related

I cannot find SpringToolSuite4.ini file in the new version of SpringToolSuite4(4.1.2). It seems be changed to manage .ini.file. Where can I find it?

I need to change some configuration information to use SpringToolSuite4. But when I downloaded SpringToolSuite4 4.1.2 and unziped, there isn't SpringToolSuite4.ini file. So I created one, but SpringToolSuite4 didn't reference to SpringToolSuite4.ini file when starting.
I solved the problem with these steps:
Open the commad terminal;
go to the location where you put the jar file;
Run "java -jar [****.jar]";
PS: Make sure you have java runtime installed in you machine and you have the correct environment settings.
Hope this could help you.
I guess this is an admin rights problem:
I have downloaded the self extracting .jar file:
spring-tool-suite-4-4.8.1.RELEASE-e4.17.0-win32.win32.x86_64.self-extracting.jar
I saved it in c:\Program Files (needs admin rights).
Double-clicked it (not as admin) -> Same error (cannot find the SpringToolSuite4.ini file).
I have started TotalCommander (you may use a differnt explorer) with admin rights -> Problem fixed.
Open jar with winrar. Open the "contents.zip". Move to "sts-4.8.0.RELEASE" folder in documents. After, we run the program.
jar:spring-tool-suite-4-4.8.0.RELEASE-e4.17.0-win32.win32.x86_64.self-extracting
You can solve the problem like this.
When I downloaded it for the second time. I also got this error(SpringToolSuite4.ini). That's how I passed. instead of downloading it again. Downloading it again didn't work.
right click on the sts icon inside the extracted sts-bundle package and select show content.

how to configure less in eclipse?

I downloaded the plugin from http://www.normalesup.org/~simonet/soft/ow/eclipse-less.en.html.
and installed in on eclipse however when I try to compile the less to css I get this error
Cannot be launched because of an I/O exception
Cannot run program "lessc": CreateProcess error=2, The system cannot find the file specified
can anyone whose successfully installed this guide me in the right direction ? Also xtext is installed already.
There is a similar issue for the lessc GitHub repo: issues/213
I added a new launch configuration as follows:
LESS command: lessc (existing)
Compress the generated CSS file (existing)
Use this launch configuration as default
Your have to change the "LESS Command".
Please filling your "lessc" physical path, just like "C:\Users\[Yourname]\AppData\Roaming\npm\lessc.cmd"
(Windows 7, node.js standard installer)
That means you must indicate the full path of lessc.cmd

API Gen with NetBeans 7.2.1

I cannot generate the documentation of my project. Getting the error message under NetBeans "'"php.exe"' is not recognized as an internal or external command, operable program or batch file.".
The ApiGen 2.8.0 standalone has been unzipped in a separate folder and its reference is given under Tools->Options->apigen.
Any advice from anyone? Thks in advance.
The problem is that your Netbeans installation does not know where your PHP executable is by default. You'll need to add the PHP path to your windows environment by following these steps;
Unzip APIGen in a suitable location by personal preference
Go to your PHP executable directory (For XAMPP on C it would look like C:\xampp\php
Copy the location address in your window path at the top
Open start menu and right click "Computer"
Choose "Advanced system settings" to your left and click "Environment vars" in the new window.
In the second list view, mark "Path" entry and click "Edit"
Position cursor at the very end in the value field.
Type semi-colon and paste your copied path on step #3, make sure your path ends with backslash.
Click ok and then make sure to restart Netbeans.
Go to Options -> PHP and then click "Search", Netbeans should now be able to find your PHP executable.
To set up APIGen in netbeans;
Go to Options -> PHP -> APIGen
Browse to your extracted APIGen location and select the apigen.bat file.
You may also add " --debug" after apigen.bat in order to get detailed error reports if something fails.
Your system should now be ready to generate documentaiton. The first time you generate the documentation you'll be asked to select the output folder and what the documentation should cover.

Error opening zip file or JAR manifest missing : ../modules/org.eclipse.persistence_1.1.0.0_2-1.jar

I am building a project in jdeveloper 11.1.2, but when i want to deploy it in weblogic it appears the next message
Error opening zip file or JAR manifest missing : ../modules/org.eclipse.persistence_1.1.0.0_2-1.jar
The file is there so i don't know what's happening.
The solution for this problem is removing the hash area named "RunConfigurations" in the project file. (Model.jpr)
I have resolved this issue in different way.
First of all it was an integrated weblogic server and the error was coming exactly after security patches have been installed on my Windows XP machine.
To repair:
In JDeverloper go to "View"->"Application Server Navigotor"; select IntegratedWeblogicServer and open properties. We need Domain Directory. Domain Directory for the IntegratedWeblogicServer is not located under "..:\Oracle\Middleware". By default it was placed (at least on my machine) under "C:\Documents and Settings\user name\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\".
So copy entire modules folder from you Fusion Middleware home "..:\Oracle\Middleware\" to "C:\Documents and Settings\user name\Application Data\JDeveloper\system11.1.2.1.38.60.81".
Restart integrated weblogic server.
It works for me ...
Good luck.
Answer for JDeveloper version : 11.1.2.1.0:
Right Click Model.jpr -> Project Properties -> Run/Debug/Profile -> Run Configurations. Select EclipseLink JPA Client -> Edit -> Launch Settings -> Java Options --> -javaagent:D:/JDeveloper/modules/org.eclipse.persistence_1.1.0.0_2-1.jar
D:/JDeveloper/modules is the path where my org.eclipse.persistence_1.1.0.0_2-1.jar file is located.
So give whatever your org.eclipse.persistence_1.1.0.0_2-1.jar path is after -javaagent:
I had the same problem with JDeveloper 11g 11.1.2.1.0 (R2) in Windows 7, and I solved it by uninstalling the following automatic updates of windows, it is not a problem of a project or specific application in JDeveloper, because it occurs at trying to run the integrated WebServer.
These are the uninstalled updates:
KB2647518
KB2665364
KB2641653
KB2639308
KB2621440

eclipse window not opened when i am trying to click eclipse.exe

When i am trying to open eclipse exe file , window is not opened , why this is happened , previously it is working fine but today it is not opened any changes i need to do?it will help full if any one gave quick fix .
thanks
Ramana
(The OP ramana solved it by uninstalling and re-installing Java, but below is another potential cause)
Check if your PATH hasn't changed somehow: see Java Tips: “Adventure” in resolving the Java error “Error occurred during initialization of VM”
Running Java.exe produce error in other directories (since the SDK’s bin is added to path.)
However running in it’s bin directory, it runs fine.
In the case of the ips mentioned before, the issue was:
The good news is that it is nothing supernatural or magical image but the bad news is that the Windows directory is the “protagonist” image.
From file search, it can be concluded that somehow certain mischievous program is copying some crucial java files into Windows directory which are stored in path, and so unless the java’s bin is the foremost in the path, one will bound to get the error.
The error occurs because java.exe or other Java executable expect some support files and directories to be found but obviously could not find it in Windows directory.
Running the java.exe in its bin directory will not produce error because Windows will use the current directory to which the file is run first before searching for it in the path.
That might not be the case for you, but that could still be related to a PATH issue.