As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
codepad.org allow you to run C,C++,D etc code online but not Java... is there a site that I can use for Java?
there is also http://ideone.com/ (supports many languages)
rextester runs java snippets
Also accessible as runjavaonline.com
Ideone is the best site for the online code running, debugging and it provides extra performance stats also.
Without Sign Up, you can run code upto of maximum 5 sec, and for signup, upto a max of 15 sec. And for Signup, the code management and history is also too good.
However, it has some maximum amount of submissions per month for registered users.
www.ideone.com
It supports more than 40 languages, and is integrated with SPOJ and RecruitCoders.
Compilr is an online java compiler. It provides syntax highlighting and reports any errors back to you. It's a project I'm working on, so if you have any feedback please leave a comment!
http://ideone.com/ideone/Index/submit/
you can run your java code
Some new java online compiler and runner:
Java Launch
Srikanthdaggumalli
These sites are in under development. But you can view the compilation errors, Runtime Exceptions as well as output of a java program by clicking on the TryItYourself link.
I found this online java compiler and runner. It work also with threads and showing results immediately. http://www.browxy.com
OpenCode appears to be a project at the MIT Media Lab for running Java Code online in a web browser interface. Years ago, I played around a lot at TopCoder. It runs a Java Web Start app, though, so you would need a Java run time installed.
Zamples is another site where you write a java code and run it online. Here you have possibility to choose jdk version also.
http://www.zamples.com/JspExplorer/index.jsp?format=jdk16cl
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a good Testing-Framework for Java GUI Applications. For Android I know Robotium and it would be really cool if there is something similar for Java PC Applications.
Example Testcase:
1. Right click on TreeView
2. Click on Menuitem "Expand all"
3. Check if Tree has been expanded and there is a new item visible with maybe "RAM" as text.
I searched for Java Test frameworks but didn't found anything like Robotium.
What are you using to test your Java GUIs?
You have severel options
FEST - compatible with TestNG and JUnit, framework is written to be use specially for Swing testing so it's very fast, in can take screenshots after failures, even sometimes determine the cause of this failure and other features. I would defintely give this one a tyr
Marathon - looks very cool too, also has handful of features but unfortunately has a paid license
Sikuli - image-based testing framework, allows you to write test scripts in Java
Cucumber - you can write your tests in plain English, looks very interesting, so I would definitely give this one a shot
and others...
As you can see, there are many frameworks, so the best is probably to go through their examples and basic tutorials and just grab what fits you the most.
What about fest?
What about ranorex?
What about swinger?
What about Marathon?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Interpreted languages are nice, I can write some quick, prototypical code (i.e. using an interactive shell) for the purpose of exploration before delving into production level code.
What is the best approach for this with Java? Currently I'm creating Maven projects with Eclipse, and exploring things in my test infrastructure using JUnit... but this is less then ideal.
You can also check out Eclipse's Scrapbook Page:
Menu>File>New>Other>(search for)Scrapbook Page
Why not use something like BeanShell ? It's a scripting solution for Java and offers a console-based interactive scripting environment.
Here's the quick start guide. Note that you can also start a BeanShell console from within Maven.
I've picked BeanShell here since it's the closest thing to Java, but interactive. You could pick another console-based JVM language such as Scala, Jython etc. They're more removed from standard Java since they're different languages, but still offer interoperability with your standard Java components.
You might want to try out JRebel for quick code tweaking. Or if you are into web development, check Play framework.
http://zeroturnaround.com/software/jrebel/
http://www.playframework.org/
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am a new to IntelliJ Idea from Jetbrains and the installer asks me various questions at first launch. Though i managed Subversion/Version control system settings in first window other seem alien to me. Can i have a experienced hand at completing other steps. I am used to visual studio and .net and C#. But Java for first time, hence such a subjective question, mostly i want to develop Google data, android , java webapps[so database comes along], console application[does java have one??] couple of screenshots from installation
Screen2
Screen 3
Screen 4
I did manage find out what other's were but these bother me. I haven't completed the steps yet waiting for answers to complete and finish the installation
You always have the option to add anything you wish later on (look for the "wrench" button on the menu bar).
I don't use all the Java EE app server options, because I know I'm not likely to use WebSphere and some of the others.
I use Git and Subversion for source code management, so those are enough for me.
Given what you want to do with the IDE, I'd recommend getting at least the following:
GWT, GAE, Hibernate, SQL, and whatever App servers you plan on using for deployment. Also, you can always add those plugins later if and when needed. I've noticed that overloading the IDE with lots of plugins slows IDEA down quite a bit so be selective.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I mostly use Eclipse but have mentionned Netbeans on my cv. Are there any good concise and up-to-date tutorials apart from the official ones that could bring me up to speed on how to use the IDE efficiently (shortcuts, debugging, views ...)? This excludes programming tutorials as I don't really need them unless there's a special manipulation involved.
Please take a look at this cheatsheet and this cheatsheet
From within NetBeans, go to Help -> Keyboard shortcuts card to see all the main shortcuts.
In the same menu, you have a link to the Help, which contains good explanation for how to use the debugger.
There's also the online help link, with links to many tutorials, including video ones.
Also, most of the content of Pro NetBeans IDE 6 can be viewed online in Google Books.
It might be a good idea to specify that your question relates to the Netbeans IDE, as opposed to the Netbeans Platform. The latter is the rich client platform on which the IDE is built (analogous to Eclipse RCP).
The official NetBeans page really is the best place to find NetBeans information; I found it the most helpful when I was learning the platform/ide. Aside from that, however, there are a lot of great articles about Netbeans and it's ecosystem in the NetBeans Zone at Dzone.
http://www.scribd.com/doc/24065387/DZone-Refcardz-14-NetBeans-Java-Editor-6-8
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
It doesn't have to be full blown of course, and console output only would be enough. I'd like it to be able to work on some program parts on any PC which has internet connection.
I'm really looking for a lightweight IDE I can also use for quick tests
You can use ideone.com - it serves a simple java (and many more languges) compiler and executions environment.
http://cloud-ide.com is probably your best option for Java development.
Check http://www.cloud-ide.com indeed
With Java Debug Online capabilities as viewable in that video http://vimeo.com/40872612
I've been working on my own online java editor. Check it out and let me know what you think!
Ceclipse is an online Java IDE which supports Firefox and Chrome.
They say that Eclipse might provide that in their next version.
[update - 2016]
Eclipse cloud IDE avaiable at http://www.eclipse.org/che/
Not sure if it's exactly what you're looking for, but Bespin is an online editor that looks interesting...
Try this http://www.innovation.ch/java/java_compile.html
There is an online editor for any FTP server. It's tageted to PHP (bacause it's the common way to work with PHP), but you can use it for java too.
http://online-php.com