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 :)
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 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)
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.
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.
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'm interested in technologies(solutions) that permits Java and .NET interoperate. I have tried the following and it works but I would like to know if there are other solutions:
Sockets
Web Services (Metro)
CORBA (IIOP.NET)
Messaging (QPid)
IKVM
Does anyone know other technologies(solutions) that enable Java and .NET interoperate or best practices for Java and .NET interoperability?
We use Apache ActiveMQ
I've used j-Integra's stuff before on a few projects that served me well
I have been working with JNBridge tools for in-process one-way JAVA Swing UI calling .NET 4.0 back end.
The whole thing performs well but does require discipline in its management. A license fee is required, so is really only a good choice when the 2 languages have to be used together.
Check out JNBridge.
I haven't used it, but I have heard this works: http://jnbridge.com/
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.
Is there a java library or framework (other than the javax.comm provided by Sun) that is easy to use when accessing serial and parallel ports ( especially RS-232 ).
I need something free that will work both on Windows and Linux.
The most common framework used for this is rxtx.
As andri pointed out RXTX is pretty much your best choice. There is an article on getting started with RXTX on Windows here (relating to RXTX 2.1).
If free isn't necessary -- remember, your time isn't free -- then Serial IO SerialPort might be useful. It's the only thing I found that works as-is on all of the following:
32/64-bit Windows
64-bit Solaris (didn't test 32-bit)
32 bit Linux (didn't test 64-bit)
Mac OS X
You do get source with the product, albeit with some weird and annoying build practices.
FWIW, I'm just a contented user, not affiliated with the company.
rxtx as the other posters have said. I've been using it and it works nicely. There is a problem if using nonstandard highspeed baudrates (multiples of 115200 e.g. 230400, 921600 are OK, but 1MB is not even if the hardware & underlying OS supports it), I've been told this will be corrected in rxtx 2.2.