Zeppelin notebooks on Windows 7 - apache-zeppelin

I have failed to install Apache Zeppelin (v. 0.7.1) on my Windows 7 desktop.
I would like to proceed without having to install Docker, however.
I tried reinstalling the Java runtime etc. but Zeppelin does not start.
Any suggestions?
(I am aware of version 0.7.3 but don't feel like wasting even more time trying it on Windows 7).

Please share the errors your are getting. Confirm you have made all the settings (environmental or otherwise) as required.

Related

Dnn Ver 9.4.0 Install package not running

I have downloaded the dnn version -9.4.0 install package from url -https://github.com/dnnsoftware/Dnn.Platform/releases/tag/v9.4.0 and configured that with IIS server but it's not running.I am getting compile time errors.
According to it's release document I have upgraded .net framework (4.7.2) in my system as well.
Same Install package for ver-9.2.2 I have downloaded then configured that in IIS and it's running proper.
Can you please confirm me about the issue in 9.4.0 ?
Can you give a few more details?
As an aside, you might want to check out nvQuickSite as an aid in installing DNN.
There were some issues with 9.4.0, but mostly about upgrades. Please try to download and install 9.4.1 which was released recently and addresses these issues.

Running app in IDE stops working

Last week I finished development on a test app and ran it successfully in all simulators.
Today I decided to look at publishing the app and used "Sent Android Build". Build status "Successful".
Then tried running jar from command line and got:
peter#PeteSuse:~> java -jar "/home/peter/NetBeansProjects/mobile-apps/pGame/dist/pGame.jar"
java.lang.ArrayIndexOutOfBoundsException: 0
at com.codename1.impl.javase.Executor$1.run(Executor.java:84)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
So tried to run from GUI and got:
run:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
at com.codename1.impl.ImplementationFactory.createImplementation(ImplementationFactory.java:69)
at com.codename1.ui.Display.init(Display.java:566)
at com.codename1.impl.javase.Executor$1.run(Executor.java:112)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
Java version:
peter#PeteSuse:~> java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (IcedTea 3.3.0) (suse-23.1-x86_64)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
I am using Netbeans (new to this) on Suse Linux 42.1 64b.
Have I lost a library somewhere? or something else?
Thanks guys. I fixed the problem by adding jfxrt.jar to the Libraries in NetBeans.
JFXPanel is in the JavaFX library.
See: JavaFX and OpenJDK for info on why JavaFX is not available by default in your OpenJDK distribution.
If your linux distribution makes an open JavaFX package available (like ubuntu does: Why is JavaFX is not included in OpenJDK 8 on Ubuntu Wily (15.10)?), then you can use that.
Otherwise you can build from source (for the adventurous yak shaver).
Or, easiest, is just to an Oracle Java distribution.
I don't know codenameone or have any idea how it works. Possibly whatever it is, you could ask the creators to package their thing as a self-contained application, so that it ships with a compatible Java runtime, which would (potentially) avoid issues such as you are encountering. Not knowing codenameone, I don't know if that would make sense or not.
I also don't know the cause of your original ArrayIndexOutOfBoundsException as that looks internal to codenameone or your use of it.
With regards to NetBeans, you might need to set the Java platform to one with JavaFX installed (in case you have multiple Java platforms installed on your machine).
You can run a Codename One application in the simulator by pressing the play button in the IDE. It won't work for you from Command Line and shouldn't since the app shouldn't have a main() method.
You can execute the Codename One simulator from Command Line using:
java -jar JavaSE.jar:dist/MyApp.jar
Notice this assumes your project is the working directory.

MAVProxy installed by Python can't find required modules

I installed droneapi in the same manner given in the tutorial. However, it's missing all of the important modules that come with MAVProxy, such as console, wx, etc.
Was it supposed to install these modules, or should I move them over from MAVProxy itself instead?
Note: Windows 8 64-bit platform
I apologize that you had to investigate the issue without guidance. Publishing our Windows installer was not well prioritized, and it looks like that choice cost you several hours.
Here is what we will soon to address DroneKit Python installation on Windows:
A dedicated Windows installer generator lives at windows/droneapiWinBuild.bat. This generates a program Output\DroneKitsetup-1.x.x.exe which can be used to install all dependencies.
Yesterday we began testing the installer on Windows on every commit. https://github.com/dronekit/dronekit-python/pull/236
We will now publish the binaries generated by that test and document them in the Windows installation process. https://github.com/dronekit/dronekit-python/issues/164
Thanks for publishing your solution publicly. Hopefully we can address issues like these before they come up in the future.
Tim, DroneKit Engineer
So in a rare spark of intuition I discovered the answer. The modules required by Dronekit Python can be installed in the following ways:
Console- type "pip install console" into the WinPython cmd prompt
WX- http://wiki.wxpython.org/How%20to%20install%20wxPython
OpenCV- Download and install OpenCV version 2.4, then copy/paste the file cv2.pyd from OpenCV\build\python\2.7\x64\ to \python-2.7.6.amd64\Lib\site-packages.
At this point it should load all required modules, although it will throw a few exceptions which aren't important.
As always, 3DR documentation is incomplete. One would think that $800 million dollar profits would mean that they could hire more than 5 programmers for their new platform...

Installing Oracle DataModeler assistance

I would like to download and install the Oracle DataModeler
But im stuck at the window that says:
"please specify the path to the java jdk home:_________"
What do i do?
Help would be greatly appreciated
You tell it where Java is installed. SQL Developer Data Modeler is a java application and can't run without Java.
If you're on Windows, you can download the package that includes the JDK. If you're not on Windows, install Java 8 (JDK), and then run SQL Developer. If it doesn't see Java, it will ask for the path. Give it the path from your install.
When I installed Datamodeler, the first time I launched the software it asked me for a java path. On my machine this was /usr/lib/jvm/java-1.8.0-openjdk-amd64. If you are running on a linux distro, there should be an opt subdirectory with a configuration file that you can edit manually:
/opt/datamodeler/datamodeler/bin/datamodeler.conf
try changing the last line of the file from
SetJavaHome ../../jdk
to
SetJavaHome /path/to/your/java (whatever your java path is)
I'm still having issues -- but this might work for you.

Fedora Commons starting problems

I've been installing Fedora Commons on a Fedora 17 system. Everything has just gone like a charm and I followed this guide:
http://asingh.com.np/blog/fedora-commons-installation-and-configuration-guide/
However, whatever I do the service "Fedora Commons" won't start. There is nothing showing up in /var/log/messages
Running "service fedora start" ends with an OK, but when I afterwards run "service fedora status" it shows "Fedora Commons service is stopped".
Any ideas?
Fedora Commons can be somewhat picky about having an environment set up correctly. In general I prefer to install a new Tomcat servlet container and then choosing the "existingTomcat" custom install rather than having the Fedora Commons installer create a servlet container for you. By doing this you can more easily separate the servlet container install/config issues (lots of documentation on the web for this) from the Fedora Commons install/config issues (not so much information on this).
Also, when doing a new Fedora install I find it helps to download and deploy a servlet called "psi-probe" into the Tomcat container. It helps debugging environment issues as well as giving you an easy way to view log files for all your servlets from a common web interface.
http://code.google.com/p/psi-probe/
Further update: I forgot to mention one thing that also would prevent Fedora Commons from running and that is Fedora Commons does not seem to work well with the OpenJDK installed by default on many OS distributions. This can cause Fedora Commons to quietly fail with no log information even if the install was successful and correctly configured. Switching the environment variables to point to another version of JDK (other than OpenJDK) will resolve this problem.

Resources