Results 1 to 8 of 8

Thread: how do I enable java via ubuntu linux on a chrome OS?

  1. #1
    Join Date
    Aug 2022
    Beans
    2

    how do I enable java via ubuntu linux on a chrome OS?

    As the title says, Im new to ALL of this. I recently got a New Samsung Galaxy Chromebook Go.
    It runs a Chrome OS and Im only familiar with the typical windows. I NEED java on this laptop or It is useless to me.
    I'm not even sure if this is the right forum for the help I need but Ive got to start somewhere so I appreciate any responses.


    I have tried following different things it says online and have managed to get Dev mode on and the ctrl alt t command interface but the commands dont seem to work.
    please and thank you anyone!

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how do I enable java via ubuntu linux on a chrome OS?

    ChromeOS isn't a general purpose Linux. It is extremely specialized for what Google things people who want to watch youtube and use google's webapps need.

    IF the model can run Android, recent chromebooks have a Java-like JRE, there for Android apps, but it isn't really 100% java. It is the Android version which is different enough that Oracle wasn't able to convince a judge it was the same and stolen by google. There are very important differences, lets just say that.

    Further, Java is a hog, so 95% of chromebooks can't run it except limping, slowly, due to restricted memory. I'm guessing that you didn't buy one of the $800 chromebooks.

    So, if you want to run Java and do java development for school, you'll need a better computer or learn to use a $10/month VPS, since the cheap ones are extremely tight on RAM and java is a hog. If you are a commercial java developer, creating desktop or server applications, you'll want a Core i7 with 64G of RAM and fast NVMe SSDs.

    Did I mention that Java is a hog?

    OTOH, I did server-side webapp software development with a DBMS on a 2011 dual core Celeron with 2G, after replacing ChromeOS (it was too frustrating) for Lubuntu using the Perl programming language. Chromebooks are very capable, but we have to be smart about the workloads.

    You won't be doing normal java development on a chromebook. Sorry. Take the chromebook back or list the hardware specifics, but if you don't already know Linux pretty well, I think you'd be better getting a used $300 workstation to limp along until you can get a better java development workstation.

    If you just want to run 1 java application, there are probably some options. I've assumed you want to develop using Java, since I can't imagine why anyone would actually want to run a bloated java application. Yep - can't imagine that. Just tried again. Nope. Don't see it.

    And lastly, ChromeOS isn't Ubuntu, so this thread belongs in a non-Supported OS thread, not Ubuntu Official Flavours.

  3. #3
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: how do I enable java via ubuntu linux on a chrome OS?

    Moved to Any Other OS.

    As stated, ChromeOS is an independent, and very tightly controlled, Linux-based operating system. That does not mean you can't find help here and it does not mean you are unwelcome to seek it. However, the Ubuntu Forums is primarily intended to support users of Ubuntu and officially-recognized flavors.

    All that said, there are a number of folks here who use Chromebooks -- and some even use ChromeOS on them!
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  4. #4
    Join Date
    May 2009
    Location
    Michigan
    Beans
    213
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: how do I enable java via ubuntu linux on a chrome OS?

    On most new Chromebooks, there is an option in the Chrome OS settings panel to enable a Linux VM. It installs a bare-bones version of Debian (v10, at my last check), and you can install anything on there that you can install on Debian. That said, there is no GUI desktop; you get a terminal window, and that's it. Apps you install can have GUIs, but you need to access them via the terminal. All system maintenance (updates, uninstalls, installs, repository adds, etc.) need to be done from the CLI using tools like vim.

    You can install Java that way. Like TheFu said, however, it probably won't run very well. I have a pretty high-end Chromebook, and I actually got ThinkOrSwim from TD Ameritrade running on it in the Linux VM, but it was really slow, a lot of features didn't work due to low memory, and it liked to crash if it got overwhelmed with the data stream (again, mainly due to low memory).

    If you need to install Java for development purposes, and you need to use a Chromebook, I suggest trying one of the online IDEs out there. Cloud9 on AWS can be relatively cheap, depending on what you need to do with it. Don't even think of installing NetBeans, Eclipse, or BlueJ in the Linux VM on a Chromebook. You'll have a bad time.
    T

  5. #5
    Join Date
    Aug 2022
    Beans
    2

    Re: how do I enable java via ubuntu linux on a chrome OS?

    Quote Originally Posted by TheFu View Post
    ChromeOS isn't a general purpose Linux. It is extremely specialized for what Google things people who want to watch youtube and use google's webapps need.

    IF the model can run Android, recent chromebooks have a Java-like JRE, there for Android apps, but it isn't really 100% java. It is the Android version which is different enough that Oracle wasn't able to convince a judge it was the same and stolen by google. There are very important differences, lets just say that.

    Further, Java is a hog, so 95% of chromebooks can't run it except limping, slowly, due to restricted memory. I'm guessing that you didn't buy one of the $800 chromebooks.

    So, if you want to run Java and do java development for school, you'll need a better computer or learn to use a $10/month VPS, since the cheap ones are extremely tight on RAM and java is a hog. If you are a commercial java developer, creating desktop or server applications, you'll want a Core i7 with 64G of RAM and fast NVMe SSDs.

    Did I mention that Java is a hog?

    OTOH, I did server-side webapp software development with a DBMS on a 2011 dual core Celeron with 2G, after replacing ChromeOS (it was too frustrating) for Lubuntu using the Perl programming language. Chromebooks are very capable, but we have to be smart about the workloads.

    You won't be doing normal java development on a chromebook. Sorry. Take the chromebook back or list the hardware specifics, but if you don't already know Linux pretty well, I think you'd be better getting a used $300 workstation to limp along until you can get a better java development workstation.

    If you just want to run 1 java application, there are probably some options. I've assumed you want to develop using Java, since I can't imagine why anyone would actually want to run a bloated java application. Yep - can't imagine that. Just tried again. Nope. Don't see it.

    And lastly, ChromeOS isn't Ubuntu, so this thread belongs in a non-Supported OS thread, not Ubuntu Official Flavours.

    Appreciate the reply. I'm just totally unfamiliar with this OS. I just know the laptop itself is a galaxy chromebook go. I have a phone service through at&t and was offered this laptop for .99c and was told it has unlimited data for $20 a month, I have a 1 month trial to return it. I use hotspot from my phone for my minimal gaming on Nintendo switch and .jar private server game clients on laptop. I jumped at the offer being so overly excited to downgrade my phone plan (less hotspot data) that I didnt think to consider it may not run java.

    I am totally clueless on where to even find the specs of the computer with how this setup of this computer is. I only recently purchased a windows 11 laptop after using a laptop stuck that was on windows 7 for 4 years. I havent had time to follow the trend, I just play 1 game that requires a .jar extension program to be ran. Could you help me by directing me to the specs and letting me know if this laptop is even worthwhile in doing whatever would be needed to run a simple .jar client?

  6. #6
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: how do I enable java via ubuntu linux on a chrome OS?

    Quote Originally Posted by amucia View Post

    I am totally clueless on where to even find the specs of the computer with how this setup of this computer is. Could you help me by directing me to the specs and letting me know if this laptop is even worthwhile in doing whatever would be needed to run a simple .jar client?
    Just my 2cents worth, your ok I wouldn't be happy overall with this rig (reason heavy tester)
    And if used as Qlll below suggests its Ok, But your Specs are:
    Code:
    Standing screen display size 	‎14 Inches
    Max Screen Resolution 	‎1366 x 768 Pixels
    Processor 	‎1.1 GHz celeron
    Hard Drive 	‎32 GB
    Chipset Brand 	‎Intel
    Card Description 	‎Integrated
    Wireless Type 	‎Bluetooth, 802.11ax
    Number of USB 2.0 Ports 	‎2
    Number of USB 3.0 Ports 	‎1
    Average Battery Life (in hours) 	‎12 Hours
    Other Technical Details
    Brand 	‎SAMSUNG
    Series 	‎Chromebook Go
    Item model number 	‎XE340XDA-KA1US
    Hardware Platform 	‎Android
    Operating System 	‎Chrome OS
    Item Weight 	‎3.2 pounds
    Product Dimensions 	‎8.88 x 12.88 x 0.63 inches
    Item Dimensions LxWxH 	‎8.88 x 12.88 x 0.63 inches
    Color 	‎Silver
    Processor Brand 	‎Intel
    Processor Count 	‎1
    Computer Memory Type 	‎DDR4 SDRAM
    Flash Memory Size 	‎32 GB
    Optical Drive Type 	‎No Optical Drive
    Power Source 	‎Battery Powered
    Batteries 	‎1 Lithium Ion batteries required. (included)
    Last edited by 1fallen; August 20th, 2022 at 12:07 AM. Reason: took my opinion out
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  7. #7
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: how do I enable java via ubuntu linux on a chrome OS?

    Not necessarily unhappy if used as a Chromebook is intended, which doesn't include development.

    For 99 cents and a good data plan, it sounds great for general web browsing.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: how do I enable java via ubuntu linux on a chrome OS?

    For $1, I'd keep it and use it as intended. As a 3rd computer or a guest computer for connecting to the internet, using google-apps and watching youtube. It should be fine for that.

    If you want a more capable laptop, there's a ASUS VivoBook Touch Laptop - R565EA-US51T : 15.6" 1080p, i5-1135G7, 8GB RAM, 256GB SSD, Win 11 for $300. I have one from 2017 with an 8th-gen CPU and it works fine. You'd probably want a larger SSD and perhaps 16G of RAM, but that isn't needed immediately. The only complaint I have is that the keyboard wore out before I'd owned it 2 yrs, but I'm hard on keyboards. The system works great besides that.
    That deal is at a nationwide computer store in the US - microcenter. I run a lite Ubuntu on mine and a few virtual machines.

    Just saying, there are options and they don't need to be too expensive. Of course, for $400, you can probably build a desktop with 3x the performance and use remote X11 from the laptop into the desktop for doing most things. I do that daily, constantly, right now. This browser is actually running on a different system than where I'm typing. Use the underlying Linux capabilities to get the most from these things. Compute on the system that makes the most sense, from where every you are in the world.

    Calling "one jar file" a simple application could be true or not. A jar file is a way to group lots of java modules together, so it could be a monster program or "hello world" from a beginner. We can't tell.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •