--- title: "Which came first, Java or TikTok?" description: "Java vs TikTok: Java came first, by 21 years — 1995 against 2016. What happened in each case, and why the dates are often given differently." url: https://atoneplace.net/which-came-first/java-vs-tiktok/ site: "At One Place" --- # Which came first, Java or TikTok? **Which came first, Java or TikTok?: Java** 1995 — 21 years before TikTok Java came first, by 21 years. Sun Microsystems announced Java publicly. ## Side by side | | Java | TikTok | | --- | --- | --- | | Year | 1995 | 2016 | | Date | 1995-05-23 | — | | Category | technology | technology | | What happened | Sun Microsystems announced Java publicly. | ByteDance launched Douyin in China; TikTok followed abroad in 2017. | ## Java Java was announced in May 1995, having started in 1991 as a project called Oak aimed at interactive television — a market that did not exist yet. Its promise was "write once, run anywhere", achieved by compiling to bytecode for a virtual machine rather than to a specific processor. JavaScript arrived seven months later and was named after it purely as a marketing decision; the two languages are unrelated. ## TikTok The app launched in China as Douyin in September 2016 and internationally as TikTok in 2017. What made it global was the 2018 acquisition and merger of Musical.ly, a lip-sync app that had launched in 2014 and already had a large Western user base — so part of TikTok is two years older than TikTok. Douyin and TikTok remain separate apps on separate infrastructure. ## Common questions ### Which came first, Java or TikTok? Java, by 21 years — 1995 against 2016. ### When did Java start? 1995. Sun Microsystems announced Java publicly. ### When did TikTok start? 2016. ByteDance launched Douyin in China; TikTok followed abroad in 2017. ## Related pages - [Apple or Java?](https://atoneplace.net/which-came-first/apple-vs-java/) - [the internet (ARPANET) or Java?](https://atoneplace.net/which-came-first/arpanet-vs-java/) - [the internet (ARPANET) or TikTok?](https://atoneplace.net/which-came-first/arpanet-vs-tiktok/) - [email or Java?](https://atoneplace.net/which-came-first/email-vs-java/) - [email or TikTok?](https://atoneplace.net/which-came-first/email-vs-tiktok/) - [the Macintosh or TikTok?](https://atoneplace.net/which-came-first/macintosh-vs-tiktok/) - [Python or TikTok?](https://atoneplace.net/which-came-first/python-vs-tiktok/) - [Java or Microsoft?](https://atoneplace.net/which-came-first/java-vs-microsoft/) - [Java or the Macintosh?](https://atoneplace.net/which-came-first/java-vs-macintosh/) - [Java or Windows?](https://atoneplace.net/which-came-first/java-vs-windows/) - [Java or the World Wide Web?](https://atoneplace.net/which-came-first/java-vs-world-wide-web/) - [Java or Python?](https://atoneplace.net/which-came-first/java-vs-python/) ## Sources - Wikidata — Wikimedia Foundation (https://www.wikidata.org/) [CC0 1.0] - Typical range compiled from manufacturer specifications — At One Place (/about/)