decoration decoration
Stories

GROKLAW
When you want to know more...
decoration
For layout only
Home
Archives
Site Map
Search
About Groklaw
Awards
Legal Research
Timelines
ApplevSamsung
ApplevSamsung p.2
ArchiveExplorer
Autozone
Bilski
Cases
Cast: Lawyers
Comes v. MS
Contracts/Documents
Courts
DRM
Gordon v MS
GPL
Grokdoc
HTML How To
IPI v RH
IV v. Google
Legal Docs
Lodsys
MS Litigations
MSvB&N
News Picks
Novell v. MS
Novell-MS Deal
ODF/OOXML
OOXML Appeals
OraclevGoogle
Patents
ProjectMonterey
Psystar
Quote Database
Red Hat v SCO
Salus Book
SCEA v Hotz
SCO Appeals
SCO Bankruptcy
SCO Financials
SCO Overview
SCO v IBM
SCO v Novell
SCO:Soup2Nuts
SCOsource
Sean Daly
Software Patents
Switch to Linux
Transcripts
Unix Books

Gear

Groklaw Gear

Click here to send an email to the editor of this weblog.


You won't find me on Facebook


Donate

Donate Paypal


No Legal Advice

The information on Groklaw is not intended to constitute legal advice. While Mark is a lawyer and he has asked other lawyers and law students to contribute articles, all of these articles are offered to help educate, not to provide specific legal advice. They are not your lawyers.

Here's Groklaw's comments policy.


What's New

STORIES
No new stories

COMMENTS last 48 hrs
No new comments


Sponsors

Hosting:
hosted by ibiblio

On servers donated to ibiblio by AMD.

Webmaster
No application or program written for the J2SE platform runs on Android. | 380 comments | Create New Account
Comments belong to whoever posts them. Please notify us of inappropriate comments.
No application or program written for the J2SE platform runs on Android.
Authored by: Anonymous on Thursday, May 24 2012 @ 08:40 AM EDT
Would it be possible to write a generaic J2ME-launcher for android?

ie. a wrapper for java's main function that does the bare minimum to start the
application within android's framework.

And the question is then, how many J2ME programs will work flawlessly when run
from such a launcher? My guess: A lot.

[ Reply to This | Parent | # ]

No application or program written for the J2SE platform runs on Android.
Authored by: PolR on Thursday, May 24 2012 @ 09:05 AM EDT
For legal purposes, will the judge care about the difference between programs
and libraries? I think not. He will note the difference for accuracy, but the
issue of compatibility applies to libraries just the same as for programs, and
perhaps even more so.

[ Reply to This | Parent | # ]

No application or program written for the J2SE platform runs on Android.
Authored by: ais523 on Thursday, May 24 2012 @ 09:05 AM EDT
A Java program can have multiple entry points. (People put main() in more than
one class all the time for testing.) I strongly suspect, although don't know for
certain, that if you put an Android entry point and J2SE entry point in the same
program, J2SE would ignore the Android entry point and vice versa.

This might be considered cheating, though.

[ Reply to This | Parent | # ]

No application or program written for the J2SE platform runs on Android.
Authored by: DannyB on Thursday, May 24 2012 @ 11:59 AM EDT
It depends on how you define "program".

If you define it as a JAR with a manifest that declares a class that has a
'public static main' function, then No.

If you define it as a JAR with compiled classes, then Probably.

---
The price of freedom is eternal litigation.

[ Reply to This | Parent | # ]

No application or program written for the J2SE platform runs on Android.
Authored by: iksrazal on Thursday, May 24 2012 @ 12:42 PM EDT
main() is not the only way to run a Java program. A Servlet is an example of a
program running in a servlet container like Tomcat. I would say 90% of the
worlds Java code is run in a war/jar/ear format on a servlet container.

As for J2SE programs running on Android, the question is how you define it. What
"is" is. rangeCheck obviously runs on both. A Java program can run as
a Daemon on Linux, so sure, at source code level.

The copyright question as addressed by Oracle is misleading. AFAIK the question
is not what tools Android and Java use to compile and package the same code. But
rather, can I take the 37 Java API's as defined by the JavaDoc on the Oracle
site, to write code that can be compiled and run separately by each vendors
tools on the target CPU. A generic program in other words. And the answer is
most definitely yes.

[ Reply to This | Parent | # ]

Groklaw © Copyright 2003-2013 Pamela Jones.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the individual posters.

PJ's articles are licensed under a Creative Commons License. ( Details )