Netbeans 6.8 missing Interactive Ruby Window - ruby

I installed Netbeans IDE 6.8 today to use it while learning Ruby.
Here the specifications:
Product Version: NetBeans IDE 6.8
(Build 200912041610)
Java: 1.6.0_17; Java HotSpot(TM)
Client VM 14.3-b01
System: Windows XP version 5.1 running
on x86; Cp1252; en_US (nb)
So I created my first Ruby project and am able to run the program.
According to the documentation I should also be able to open an Interactive Ruby Window from Windows/Other/, but in my case that menu only contains [Exception Reporter, CSS Preview and CSS Stylebuilder].
This is the case no matter if I use JRuby or Ruby 1.8 as my Ruby Platform.
Am I missing something or is this a bug?
Although I could resort to the interactive console that comes native with the Ruby installation I would prefer to have it integrated in my IDE.
So if anyone knows how to resolve this issue, even if it means going back one version of Netbeans I would appreciate the help.

right-click on your Ruby project and then select Ruby Shell(IRB)

Related

codenameone Cant Open Designer or Settings

I've a new computer with Debian 9 / 64bits.
After installing Netbeans 8.2 and Codename Plugin 5.0 if i try to open "CodenameOne Settings" or "CodenameOne Designer" nothing happens.
I've checked JRE_JAVA and JDK_JAVA and PATH environment variables and them points to the correct path.
I don't see any error message but the tools dont start.
I dont know what happens but i remember a similar issue in the old computer with Debian 6 / 32bits.
Can anybody help me?
Thanks a lot
Ramon Garcia
The default version of Java on Linux systems is OpenJDK which is a bit problematic due to its lack of JavaFX support. With newer JDKs we updated Codename One to download JavaFX dynamically as it was removed from the JDK but since the dynamic download only works with JDK 10 or newer (due to the way the people at Oracle compiled JavaFX) this would be the minimum version of OpenJDK.
So you can either install Oracle JDK 8 or Open JDK 11 to keep compatibility.
Notice you can track this issue by running the designer/gui builder from the command line and seeing the point of failure: https://www.codenameone.com/blog/tip-track-designer-guibuilder-issues.html

How to fix JEdit 5.1.0 to don't complain about Java SE 6?

I have Mac OS X 10.9 and Java SE Runtime Environment (build 1.7.0_17-b02)... I had another version of JEdit (I guess JEdit 4) and Java 6 before and my JEdit was working fine.
Then I upgraded Java to Java 7 because NetBeans7.4 needed to be installed with Java 7 (and I needed this new NetBeans because I had a fatal issue with NetBeans 7.3.1). So anyway, I installed Java 7 and I installed NetBeans 7.4 and my netbeans is working perfectly now, but when I tried to run the JEdit it brought up an alert saying it needs Java SE 6 to run!
I did some search in the net, and it seems that JEdit 4.5 (and I guess JEdit 5.1 too!) should not have any issue with Java 7, So I installed JEdit 5.1.0... I expected that it should work and don't bring up that complain alert BUT it didn't work and brought up "Java SE 6 is needed" complain again ...
I still can run JEdit using this command, but I can't use Cmd+C & Cmd+V shortcuts for copy and paste and it kills me!
java -jar /Applications/jEdit.app/Contents/Resources/Java/jedit.jar
Is there anybody who knows why JEdit 5.1 is complaining about Java 6 and how to fix it?! I really appreciate your help!
https://sourceforge.net/tracker/?func=detail&aid=3615181&group_id=588&atid=100588
After almost 3 months struggling with jEdit I'm ready to give up... I still can't run jEdit like a normal app. What do you suggest to replace my jEdit?! The main feature I need is realtime access to the server files... Most of editors keep a local version of files, so they don't show the changes when they are made in the server side. for example when I switch to a new git branch on server, my netbeans is still showing the branch that I was working before switching, so I need to do a complete download on the project. Any idea?!
#Monica About one year later after your question, I've experienced the same issue with Mountain Lion (according to jEdit's homepage, 5.1.0 is still the current stable version).
I've installed jEdit in /Applications/Dev/ (not /Applications as most people do, I believe; that's not important except for designating the path, see below). I'm using Java 7.
The following works for me from the command line, like for you:
java -jar /Applications/Dev/jEdit.app/Contents/Resources/Java/jedit.jar
So, I used Automator to create a normal MacOS Application named "MyJEdit.app" as in the screenshot. Now I can launch MyJEdit instead of jEdit. Other java flags might be required, for instance to set the memory usage (cf java -help and java -X).
jEdit on Mac OS X and Java 7 is a long story of annoyances, and fine points that Apple did not get quite right up to Java 6, and Oracle still learning about native platform support in the past 1-2 years.
Starting with Jdk-7u40 it works technically quite well, even Retina displays, but jEdit needs to be adapted slightly.
jEdit 5.2 will probably work with Java 7 out of the box, but a few points are still open. See also the tracker item 3615000 at Sourceforge.
Here is a practical proof that it works: Isabelle/jEdit -- it is an application based on jEdit that is bundled differently than official jEdit 5.1.0.

Install ColdFusion Builder 2 Update 1 Plug-in in Eclipse 4.3

I would like to install ColdFusion Builder 2 Update 1 as a Plug-in for Eclipse 4.3.
The install seems to work without errors but when I attempt to register my license code, I get an error dialog box that says:
"The chosen operation is not enabled."
None of the CFB features appear in Eclipse.
In some of the documentation that I've found it references installing to Eclipse 3.6.
Can CFB 2u1 get installed on Eclipse 4.3? If not, does someone know which version of Eclipse to use for CFB? Hopefully it is something recent or I'm doing something wrong for the install.
I don't know if it matters, but I'm running:
Windows 7 Pro 64-bit
16GB RAM
According to the ColdFusion Builder System Requirements page one needs Eclipse 3.7.1. Having tried to install it on versions later than that, failing, and talking to Adobe about it, they confirmed that one needs that precise version. More recent ones won't do. This is a bit subpar on the part of Adobe, but so be it.

Netbeans looks blurry on mac os x mountain lion on a retina display

Yesterday i was setting up my new macbook pro with retina display and realize that netbeans looks very blurry. This is something critical for me because i spent from 8 to 10 hours using netbeans everyday. I searched online i found that this is an issue with the jre 1.7 and will work ok with the jre 1.6 provided by apple.
The thing is that i have intalled jre 1.7 on my mac and have not found a way of downgrade my
jre to 1.6, which is not critical for me because i am not a java developer,i only need the jre for running netbeans and do my loved PHP web development.
Please any help on how to downgrade to jre 1.6 from 1.7 in mountain lion.
I experienced the same issue. It's possible to tell NetBeans to use a different version of Java:
https://discussions.apple.com/thread/4470872?start=0&tstart=0#21143742
If you still want to downgrade so that the default version for all your applications is Java 6, see my comments here:
https://stackoverflow.com/a/6413600/560114
You can try Retinizer, although it won't increase the resolution of any icons within the app, just any text, as well as the Cocoa GUI.
I had the same issue after upgrading to Mountain Lion. Before upgrading I was using Java 6, and now I'm using Java 7 and saw the ugly font rendering.
However there is a way to fix the font on Netbeans without having to revert back to a previous version of Java. The issue is that the default Netbeans font "Monospaced 13" maps to different fonts in the two Java versions. The Java 6 version maps this to "Courier 13", while the Java 7 version maps it to something ugly. So you can have the nice font rendering by simply changing the default font to be "Courier 13" in your Netbeans+Java 7 (Preferences > Fonts & Colors).
More details here: https://netbeans.org/bugzilla/show_bug.cgi?id=229029
This is incredible simple to fix but I was very hard to me to find the answer.
You have to upload your JDK 7. I had the same problem with JDK 7u25. And fixed the problem downloading the last version 7u72 form here
So, do some checks first. Run:
$ java -version
I was using "java version "1.7.0_25"
Then run the following command to get the route.
$ /usr/libexec/java_home -v 1.7
You should get, before the upgrade:
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home
Then install the new version, and you should get the new route with the last command:
$ /usr/libexec/java_home -v 1.7
/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home
Go to your Applications folder, look for Netbeans (I have the version 8.01), right click "Show Packages Content".
Then navigate to Contents/Resources/Netbeans/etc. and edit netbeans.conf
On that file add the line with th evalue netbeans_jdkhome and put your route.
netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home"
Done.

How do I enable applets on Mac Firefox 3.0.1?

I have Java 1.5.0 installed on a Mac OS machine. I have the Java Embedding Plugin 0.9.6.4 installed and java enabled on the preferences panel. When I go to http://java.com/en/download/help/testvm.xml the applet appears blank. Does anyone has an idea of what is happening?
I have found the solution. The Java Embedding Plugin uses the installed JVM which itself gets its proxy definitions from MacOS and not from Firefox. So, proxy definitions have to be defined for both MacOS/Safari and Firefox.
I've also updated Firefox and selected Java 1.5 on the Java preferences panel. However I'm not sure if these two actions helped solve the issue.
Firefox 3.0.1 on Mac OS X 10.5 should support java applets without any extra Java Embedding Plugin.
applets that require java 1.6 don't work in mac os x, even though java 1.6 (aka java se 6) is installed and at the top of the list in the java preferences.

Resources