Java JDK issue or any thing else - java

I have working to setup an project on local. I have used Virtual Box because VMWare Fusion is available for MAC and I am working on windows. During the process when I run “vagrant up --provider=virtualbox” commend then JDK 7 error was displayed error screenshot is given below
http://prntscr.com/m7jp7e
After that I have installed “Oracle JDK 8” on /usr/lib/jvm/ path manually on virtual box Linux and then run vagrant up command then again JDK 8 issue is displayed.
I have also changed the path of java_home and jdk_version in “coldfusion-server.rb” file.
Please have a look error screenshot below.
Error Screenshot: https://www.screencast.com/t/9OQC3iLold2r

Mac user here! Highly recommend using CommandBox to run any version of Adobe ColdFusion on a Mac. Much easier to deal with than VirtualBox or manual installation. The only issues you might encounter is with older versions of ACF that run on JRun showing errors in CF Admin related to JRun specific references. Nothing to really worry about.
You can change the JDK and other settings used by CommendBox using server.json:
{
"name":"ACF Application",
"jvm":{
"javaHome":"/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home",
"heapSize":2048,
"minHeapSize":1024,
"args":"-XX:MaxPermSize=1024m"
},
"app":{
"cfengine":"adobe#9.0.2+282541",
"serverHomeDirectory":"serverHome"
}
}
These are some of the settings I have to run a legacy ACF 9 on my Mac using an older JDK with non-default memory settings. See Configuring Your Server for more info.

Related

Cannot install Ecplise on Mac:A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse [duplicate]

I have formatted my Mac due to some storage issues. Before this, I used Eclipse in a proper way. Now i have installed the JDK
Then, i have installed Java
Until now everything seems to be correct but when I open the Eclipse installer...
What can I do to fix this? I need to work with this the soon as possible.
Thanks
Eclipse on macOS will not start with Java 14 installed, this is being tracked in Eclipse bug 561273.
Installing Java 8 as well does not help. You need to remove the Java 14 install. You could use the Java 13.0.2 release instead.
Eclipse have determined that the root cause of this issue is a change in Java 14 which is described in this bug report JDK-8238225. The fix for this should be in Java 14.0.1
Update: Eclipse runs fine with Oracle Java 14.0.1 so the issue has been fixed.
I also asked this question which was closed, that's why I answer what I have found out: Eclipse will not install on Mac OS Catalina 10.15.4, saying the above error message
Failed to create the Java Virtual Machine.
Deinstalling jdk and install an older one wouldn't help on its own because Eclipse is refusing to install in the first place (as mentioned above). What I have done:
i´ve installed an JDK with boost (you can try several, mine worked with Version 13)
I edited the installer:
Download the dmg file
convert the dmg-file with "hdiutil convert /dev/disk3s1 -format UDRW -o devimage"
mount the converted dmg-file with: "hdiutil attach -owners on devimage.dmg -shadow"
Edit the /Volumes/Eclipse/Eclipse.app/Contents/Info.plist: there is a section which is commented and there you can try the jdk version. You have to give the full path to the java executable, for example:
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/bin/java</string>
Then my eclipse started from the (already) mounted Eclipse image without complaining
I had the same issue myself a while back. In your Eclipsepedia it provided an example of what the eclipse.ini file looks like when your trying to specify a JVM. So just change the eclipse.ini file and then make sure that you have all of the correct documents in that path to match the example.

How to install JBoss Developer Studio on Windows

I am trying to install JBoss Developer Studio 9 on Windows using executable JAR file.
I have Java in my machine and set the PATH and JAVA_HOME environment variables.
But while launching the jar, I am facing this error:
Java virtual machine launcher couldn't find the main class program will exit
Could some one please help me in resolving this.
Try to use devstudio-10.4.0.GA-installer-eap.jar from here. I tried that.
Not sure what the issue was but for future reference the install docs / guides for Developer Studio 9.1 are located here:
https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Developer_Studio/9.1/html-single/Install_Red_Hat_JBoss_Developer_Studio/index.html#Install_JBoss_Developer_Studio_Stand-alone_and_JBoss_EAP
Instructions may be written for linux users, but the same instructions apply on Windows or OSX once you're in a console.
Note that Java 8 is required for Developer Studio 9 and 10, so if that's not your default JDK (eg., JDK 7 is your default, or is found in your PATH before the entry for JDK 8), the installer likely won't work.
Perhaps that's the problem that was reported here?

How to run java 8 applets with java7u60 plugin?

I'm on clean install Windows 8.1 and I'm trying to run the java 8 example applets provided by oracle.
I've:
Downloaded jdk8 x64 (which installed the jre8 also)
Tried to run the applets, but then had to follow the link to install the latest plugin (java7u60) ( I didn't install the 7u60 jre, just the recommended plugin).
It is verified on the java verification page
I now have JDK 8, Java 8, and Java 7u60 as installed programs. Which I think is what is causing the problem.
Tried again and got them blocked by security settings
Went to control panel>java control panel and changed to medium setting
Tried again and got block by security settings again, they are being reverted as soon as I try to run an applet.
Found https://www.java.com/en/download/help/javacpl.xml and tried it, but they still revert when I try to run an applet.
Tried to run jre8/bin/javacp.exe directly as administrator, didn't help either.
Any help on what my next step is? I can't find a java 8 plugin for chrome or firefox so how are they suppose to run the example java 8 applets without it?
Thanks

Trouble with Browser type SWT.MOZILLA on windows 8 64 bit

after spending a day reading here and there I decided to ask help as I could not find a solution to my problem.
I have to create a java/swt application embedding a browser with full HTML5 support. That works out of the box on both linux and osx with SWT.NONE browser type (using webkit).
Unfortunatelly I have lot of troubles on windows.
First let me say that I'm using SWT 4.2.x on windows 8 64 bit.
To make SWT browser work with webkit I had to install 32bit JVM and manually point to it (as the -d32 switch on default 64bit JVM says that no 32 bit JVM is installed). ALso installed Safari.
And also I had to use 32bit SWT library. WHen finally I got it run I discovered that Safari for windows does not support drag and drop as experienced and stated here:
http://www.w3schools.com/html/html5_draganddrop.asp
So I decided to switch to mozilla. According to Eclipse/SWT documentation I have downloaded and installed XULRunner 1.8.0.1. I have unzipped it into C:\Program Files (x86)\Mozilla\XULRunner\1.8.0.1\xulrunner and run xulrunner --register-user (and also --register-global)
Finally in my code I added
System.setProperty("org.eclipse.swt.browser.DefaultType", "mozilla");
I have also set a global environment variable "MOZILLA_FIVE_HOME" pointing to the same XULRunner installation dir.
But then, when I run my java program (32bit JRE, 32bit SWT) I get
Exception in thread "main" org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME may not point at an embeddable GRE]
How can I fix that?
Thanks in advance!
EDIT:
I was running command prompt not as administrator and xulrunner was not registering. Doing as administrator, worked. However I'm still in trouble: XULRunner 1.9.x seems not to support HTML5. For example element.children is not supported.
I managed installing XULRunner 10.0.2 that seems to have the required support. However as soon as I click into my embedded browser, the application just crashes without printing any error on java output console...
I need to find a solution in order to use either ecent version of mozilla or recent version of webkit on windows
Ok, loading XURLRunner 10.0.2 works. The crashing app was due to a stack overflow error in my js code.
I too am trying to embed XULRunner into my eclipse plug-in, with no luck (currently). I came across your answer here. Just wanted to comment that it is not reasonable that you executed
xulrunner --register-user
nor
xulrunner --register-global
on the XULRunner 10.X since according to this post
https://stackoverflow.com/a/7567781/1743693
the support on installing the XULRunner system-wide was removed (which was a good step IMHO)
Trying to execute the aforementioned commands will result
"Error: couldn't parse application.ini"
As for my problem: I keep running into the runtime error:
Can't load library:
C:\Users\david\.swt\lib\win32\x86_64\swt-xulrunner-win32-4236.dll
C:\Users\david\.swt\lib\win32\x86_64\swt-xulrunner-win32.dll: Can't
load IA 32-bit .dll on a AMD 64-bit platform
And I can't figure out where this is coming from.
I'm running a VirtualBox with Windows 8 64bit
If you can elaborate more on what solved your issue with that - i would really appreciate that.
Thanks.

Informix CSDK install failing

I'm trying to install the Informix CSDK to get the drivers for an ODBC connection using Perl and DBD::ODBC. When running the ./installclientsdk, I'm getting the following error:
Initializing InstallShield Wizard........
Launching InstallShield Wizard........erified.
The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)
I've read that only open-jdk is available on Ubuntu 11.10 so I went and installed the java version, which is where I'm at now. If I debug, I get:
QJMLException: (error code = 3002; message="java.lang.ClassNotFoundException: sun.beans.editors.BoolEditor")
I've been following this post:
http://ubuntuforums.org/showthread.php?t=1483193
But so far no luck on getting JRE running or the CSDK installed. Any suggestions on this one?
Thanks!
There should be a JVM included with the software, and the installer should use it if it cannot find an appropriate alternative. The question then is whether the JVM bundled with CSDK can run on Ubuntu 11.10. It is certified for Redhat and SuSE, I believe.
Which version of CSDK are you trying to install? Which kernel version and GNU C Library version are in Ubuntu 11.10?
I'm not keen on the '...erified' (as opposed to ...verified) part of the message; it is ominous when such simple messages are not displaying correctly.
I've not installed Informix on Ubuntu sufficiently recently to have any useful recollections of how well it worked. I don't remember any problems, but that could just mean I'm old and forgetful.

Categories