I hope you can help me.
I am taking a class on Artificial Intelligence and I'm required to install Clojure on my laptop. I have a macbook pro and I am having a tough time trying to make sure I have installed everything correctly, and is Terminal the only environment I can work on.
I downloaded Java JDK, also the patchwork for Java to work on El Capitan from the Apple website, and finally the Clojure pack from clojure.org's site.
Are we supposed to work from our terminal or is there an environment like Xamarin studio that I should work from.
Our instructor only had the information for windows laptops not mac's or Linux's. So we're struggling to find a solution.
You can install Leiningen with brew like this:
brew install leiningen
And then learn how to use it here: Leiningen Tutorial
For #1, Leiningen is the de-facto build tool in the clojure world. It is really easy to install. Check out the instructions right on the home page. Once you have that installed, the easiest and fastest way to get going is to fire up the lein repl with:
lein repl
This gives a clojure REPL where you can start to try out clojure.
For #2, If you are doing school work, I would recommend the non-commercial license version of cursiveclojure as an IDE. lighttable in another good option.
Related
I've been trying to install java on vs code for a couple hours now and I can't seem to get it to work. I've already downloaded all the extensions necessary and I've downloaded the coding pack from https://code.visualstudio.com/docs/languages/java for windows (I'm on windows 11). According to multiple tutorials, this is all I should have to do, but when I make a test.java file, the "run java" does nothing and "run code" gives me an error.
and this is the output when I click that run button in the top right:
Does anybody have any suggestions? the coding pack was supposed to come with a jdk, its working for everybody else so I'm not sure what the issue is.
It seems like you don't have correctly installed java sdk on your system.
Try to check java sdk installation with following commands:
java --version
javac --version
In case you don't see reasonable output, try to install java sdk,
go to the Java Downloads section of the Oracle website, and download the Installer from there.
Are you sure you are following the documentation? It looks like you didn't download the official Java extension pack, but used Code Runner to run the code.
Please download the Java extension package and use Run Java or Run to run the code.
Getting Started with Java in VS Code.
I have an assignment for my school that I have to submit that needs you to create a Java application that involves recursion, file read, and javaFx. I have a 15 inch MacBook Pro with an i7 processor. When I try to use JavaFx in a class in Java, I always get errors saying that javaFx.application.Application or javaFx.scene.Scene cannot be applied to a type. Basically, my Java oxygen application cannot run javaFx. I've tried multiple YouTube videos on how to download plugins from oracle and the Java oxygen marketplace. I told my instructor and he hasn't gotten back to me yet. Everytime I download a possible plugin like e(fx)clipse/2.0.0/ (or something like that), Java oxygen sends a message that it cannot complete the operation because new software has already been installed. I kept searching oracle for the latest JDK but javaFx still won't download. I was just wondering if it had to do with me having an Apple and not Windows computer or is there something else I can try. Thanks for your help!
Just go here and download the Mac version of the JDK and install it.
http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html
That is all which is technically needed to run a JavaFX application. You should also download and install the latest version of Eclipse (Photon) because it fixes some problems with the latest Java.
http://www.eclipse.org/downloads/index-developer.php
If you like you can also install e(fx)clipse from the marketplace but it is not needed to write JavaFX applications.
I have Java 1.6. And I have installed Jython on Windows by following the steps below:
Download "jython-installer-2.7-b1.jar"
Open command prompt --> Go to the location/folder where jython-installer-2.7-b1.jar is kept
Execute the command java -jar jython-installer-2.7-b1.jar
Jython installation GUI is opened and follow the instruction to install jython
Set Path and JYTHON_HOME (In my case it was "C:\jython2.7b1\bin" and "C:\jython2.7b1" respectively)
Jython is installed successfully. Now I want to install Robot Framework. I tried to install Robot Framework using "robotframework-2.7.7.win32.exe" . At the 2nd step the following information message was displayed:
"No Python installation found in the registry"
So, I have understood Python is mandatory to install Robot Framework. But, I want to install Robot Framework without installing Python using Jython. Is there any way to do that?
I have not used this framework before, but from what I understood from the documentation and based on my Java experience, I would recommend you to download the Standalone JAR Package (which, for the latest version is: robotframework-2.7.7.jar (at http://code.google.com/p/robotframework/downloads/detail?name=robotframework-2.7.7.jar&can=2&q= )
According to the Wiki and the download notes, this package is standalone and already contains Jython, so it doesn't require additional installations of anything besides Java.
You can confirm this at: http://code.google.com/p/robotframework/wiki/Installation#Stand-alone_JAR_package
According to the doc, the Windows installer needs Python to be installed. Perhaps you can uninstall it once Robot Framework in installed (not tested).
If you're ok with Jython 2.5, you should use the standalone JAR distribution. If you really want Jython 2.7, then you may need to install from source, but it really doesn't look complicated.
I am using Ubuntu and I would like to know the basic tools to install so I can begin develop in java.
With 'minimal' I mean the most transparent way without fancy tools and stacks etc. Like for minimal C programming you just write code and run 'gcc file.c -o myapp'.
Thank you
Just download JDK.
Minimal tools are javac for compiling and java for executing JVM. Both are in bin directory.
You need to install JDK to start with hello world
Eclipse IDE. It's probably the most comprehensive Java IDE. I understand that isn't what you're looking for but light, simple ones like JCreator are not free to use. I don't see the sense in developing without an IDE of any kind.
Install the JDK. An IDE is a minimal requirement for development in Java. Not all developers would agree, but IMHO its the most productive way to develop in Java. I suggest IntelliJ CE which is free.
I installed Eclipse IDE for C/C++ Linux Developers to write some cpp codes. As I understood it, no matter which version of Eclipse I use, it always can be used to writing some java source codes.
I did this:
File->New>Java Project->...
Wrote a simple "hello world". I have confidence that my hello world is correct.
When I wrote my code, Everything went well.
But when I right clicked my new project, I found there was no "Run as","Debug as"
Press Ctrl+F11. It said "the selection cannot be launched, and there are no recent launches"
Run->Run Configurations. I double clicked Java Application. It said "No tab group defined for launch configuration type org.eclipse.jdt.launching.localJavaApplication"
What should I do?
How can I run my java applications?
Quite contrary to what you assume, eclipse isn't a Java IDE with some other addons. Eclipse is just a platform. As the package comparison shows, the C/C++ package doesn't come with the Java development tools.
Make sure you have correct eclipse version is downloaded? There will be separate eclipse version available for Eclipse for java.
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigor
Hope this help.
If you have the JDT installed, then make sure you are in the Java perspective. Either:
Window->Open Perspective->Java (default)
Use the perspective switching tab, usually the top-right of your code editor
You can install the JDT, if you don't have it by using:
Help->Install New Software...
Try to install follow this link http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/indigor if it's work. i think your eclipsec/c++ may be have a problems while install java. You can reinstall or using eclipse for java.