Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Cygwin installed with Bash on a 64-bit Win8 OS. I can launch a terminal window and am able to navigate to a parent J2EE app folder where a start file (no file extension) lives, but when I run this:
./start
I get this error message:
Error: Could not find or load main class play.core.server.NettyServer
How to resolve? Do I need to modify one or more of these (below) to include some path info? And how do I do this?
And I know the CMD window in Windows, as well as its START function.
That said, can you please be explicit (incl. exact syntax) regarding what the CMD line is that I should be entering at the CMD window prompt to run the app, provided that the only way I now know to run it is in a Terminal window on a Mac platform using the ./start command?
I understand DOS/Windows paths and how to modify them, but your answer has me confused. I am in the dark when it comes to Java and UNIX... that's why I'm posting the noobs forum. I need my hand held for a little while.
C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;<a whole bunch of other stuff>;C:\Program Files (x86)\Java\jre7\bin
As for a Java classpath, I have no idea what's required here; again that's why I posting in the noob thread and asking for specifics.
Firerat, your suggestion to use the start.bat file is of no use to me right now because you haven't told me anything beyond that. If I knew what you meant, I'd be doing it right now. But I don't, so I'm not. Please spell it out for me, as if I'm one of those ... For Dummies book readers. Thanks
If you read what I sent, you would know there there's a difference between your PATH and CLASSPATH.
Being snarky with me isn't going to get you any help. I will not do your work for you, I will only offer suggestions on how YOU can reach the answer. I was volunteering to help you, but I guess this point is lost on you. Good luck.
I'm NOT being snarky, and I did read the info at the link.
I'm not here to be a troll or start a flame war, but rather get some noob help. If the Newbie forum isn't the place to get such help, then this forum isn't of much use, is it?
MORE.....
OK, I missed the info at the bottom of that page regarding "all platforms", as I stopped at the Windows section. I've now added a classpath env. var. that points to the location of the .jar files. I've checked the SET in a CMD window and have verified that both env. vars are registered in the OS.
...
I'm not here to be a troll or start a flame war, but rather get some noob help. If the Newbie forum isn't the place to get such help, then this forum isn't of much use, is it?
...
i think you are in the wrong forum. this site is for linux related questions/topics. linux is an operating system similar to microsoft windows and mac os but is designed somewhat differently therefore windows software doesnt run on it natively.
I'm quite happy to fill in the details needed to start this java app in windows ( although I don't use windows )
but I will need to read the instructions on the website for the java app
what you are trying to do is like me trying to play minecraft by installing java in wine
No reason for me to do that as I can start minecraft with the java that is native to linux.
Oh, I'm pressed for time, Friday night an all that.
I have the JRE\bin in my PATH, and have a CLASSPATH that points to the location of the .jar files in the LIB subfolder.
All I have to launch the app is the company-provided start file (no extension). On the Mac platform that I'm borrowing (and on which the app was created), I ordinarily open a Terminal window (hence the Cygwin direction in which I was initially headed), CD to the gluetop folder, then execute a ./start.
Now attempting all of this on a Windows platform, I'm baffled, and the company engineers don't have the time to worry about a lowly Windoze user like me (who is also a contract-to-hire assignment, so don't want to make waves).
Maybe post the contents of start here, probably it will have to be converted to CMD syntax. Cygwin does some weird things with pathnames so it's not too surprising it failed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.