Which Java native compilers can be recommended? [closed] - java

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 would like to know which Java native compilers can be recommended to compile Java code to Windows and Mac OS X binaries.
Maybe someone knows which compilers have been used to create the Eclipse binaries. Those shouldn't be a wrong choice.

See here... But in short, there is no good solution that I would really recommend.

Eclipse uses as User Interface SWT, which uses the native plattform user Interface:
On Windows it looks like Windows, on Mac like Mac, etc.
Its available for the most popular Plattforms, search for SWT for more info.
So that is probably what you saw, or more are feeling when you work with eclipse.
Its not only the exe extension.

Related

Cross-platform in java [closed]

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.
What are the cross-platform development principles in java? What problems are waiting me? I want to create cross-platform file manager (java se).
Technically Java only runs on one platform, the JVM. What you may have in mind is a cross operating system application. The most basic challenge is handling / and \ correctly.
However, the biggest problem you are likely to face is in the GUI providing a windows friendly interface on windows, mac friendly on mac and linux friendly on linux. This is an interface design issue rather than a coding issue.
You can get lots of articles on platform independency of java. Check this Oracle Documentiation on how java works.
You can go through this post how-is-java-platform-independent also.
So the key thing to keep in mind avoid doing platform specific things in your javacode
Do not execute OS Specific commands or scripts(you may be tempted to do that for things like checking disk space, but java has platform idependant implementation for that)
Avoid direclty depending OS variables(gettting home dir etc)

how to simulate firwalls and proxies when developing code? [closed]

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 am writing code that often has to work in restricted environment. I sometimes code at home, where it works nicely and the moment I put it to test at work, McAfee or some other firewall blocks it.
Sometimes it is not possible to disable such protection.
I need a test suite for my home development environment where I can simulate all these restrictions without having to install all of them myself (for instance it is my experience that it is very hard/impossible to clean all traces of mcafee once you have installed it). I also need to simulate proxy servers.
I am writing code in Java if it helps.
[EDIT: so some Java library for this would be great]
You could use VMware (or VirtualBox) with different test-setups.
Try node.js. Also have a look at a sample proxy implementation

programming scala apps on iphone? [closed]

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.
is there something new about programming apps for iphone with scala?
Do you have some experiences with programming scala apps for iphone?
Thanks for any help!
It will be very difficult to make this happen. There's no JVM on the iPhone and it's probably too big to package it with your app.
There's work being done on an LLVM backend for Scala. Since there are code generators for the iPhone for LLVM, this is a path forward, but the backend is still a proof of concept, we still need a way to invoke Cocoa code from Java (not sure if something like that exists) and the Java standard library would need to be ported over as well.
But this would definitely be an excellent thing if it ever happens. Coding in Objective-C is definitely nowhere near as nice as coding in Scala.

Choosing between .NET and Java to run on Mac and PC [closed]

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 need to write software that would be running on both Windows and Mac.
What is the better technology to fulfill this requirement?
Well, to run .NET you will need to use Mono since the Microsoft .NET can't be installed on non-windows machines.
However using Java you can run it on PC, OSX (Mac) and Linux. I would choose Java.
Well this is very augmentative question but it depends on what you already know. If you know java very well that go with it. If you know C# then you have mono to go with for mac. So its your choice. Since Mono is been actively updated and improved you will have no problem with features.
I'm mostly into .NET. However, in this case I agree Java will be most suitable.
Its easy, try Java. This is platform independent :) Where as .net is a cross-platform language. So have a look at Java :)

readline-like library for Java [closed]

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.
Which readline-like library for Java do you use? By 'readline' like library I mean library for editing console input, with support for history, tab-completion, and stuff like this. I'm looking for one, and I cannot choose from so many choices (jLine -- unmaintained, java-readline -- last release on 2003, others?)
I've used JLine to add history, etc. to a Clojure REPL (JVM process) when executed from the command line. It just magically worked and worked well, so I never bothered to investigate anything else.
jruby has an internal readline you could probably call out to.

Categories

Resources