mystified Posted May 1, 2007 Report Share Posted May 1, 2007 I'm trying to install the linux drivers for my Belkin UPS and I get the following: localhost Bulldog_v2_Linux # sh setup_console.bin No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program. I have blackdown-jre installed and I know it works. My path to java-vm is /opt/blackdown-jre-1.4.2.03/bin/ and java_vm is there. I tried adding it to my .bashrc but that didn't work. Any suggestions? Quote Link to comment Share on other sites More sharing options...
iphitus Posted May 2, 2007 Report Share Posted May 2, 2007 try the official java version from sun for maximum compatability rather than blackdown. James Quote Link to comment Share on other sites More sharing options...
Soka Posted May 2, 2007 Report Share Posted May 2, 2007 Did you relogin after changing the ~/.bashrc file? You could also try exporting the path variable. export PATH="${PATH}:/path/to/java" Quote Link to comment Share on other sites More sharing options...
Greg2 Posted May 4, 2007 Report Share Posted May 4, 2007 I agree with iph, I think you should install Sun java for this to work properly. To source your blackdown do PATH=$PATH:/opt/blackdown-jre-1.4.2.03/bin then you shouldn't need to solve the NUT thread. :) Quote Link to comment Share on other sites More sharing options...
mystified Posted May 4, 2007 Author Report Share Posted May 4, 2007 Thanks but I already tried that and it didn't work. Which is why I'm trying nut. Quote Link to comment Share on other sites More sharing options...
tyme Posted May 7, 2007 Report Share Posted May 7, 2007 Thanks but I already tried that and it didn't work.Tried what? There are at least 2, if not 3 (depending on how you count), suggestions posted here...which ones did you try that didn't work? Quote Link to comment Share on other sites More sharing options...
mystified Posted May 7, 2007 Author Report Share Posted May 7, 2007 I set the $PATH and it worked fine. But then I got another error which I googled and gooled and could fine no solution to. The thing that came up the most was that it was a corrupted download. So I tried downloading it 2 or 3 times and still had no luck. Which is why I just decided to try nut. Quote Link to comment Share on other sites More sharing options...
mystified Posted May 7, 2007 Author Report Share Posted May 7, 2007 Ok, a nut developer explained to me that there is a problem because my UPS is so new and the driver won't work. So, here's where I'm at with the Bulldog software localhost Linux # sh setup_console.bin Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX And I switched to Sun. I know this isn't a corrupt download because I copied it all from the install cd. The reason I can't use the install cd is because it has java on it but when I try to run the setup script it says permission denied for the java. I already called Belkin and they told me they had no linux users so they couldn't help me! Any ideas? Quote Link to comment Share on other sites More sharing options...
Greg2 Posted May 7, 2007 Report Share Posted May 7, 2007 I already called Belkin and they told me they had no linux users so they couldn't help me! Well that's not true, what about Ian? :D Anyway, I've found that Gentoo does many things differently then I'm accustomed to doing them. That said, I can only tell you to check that you have configured your vm and set your CLASSPATH as per config virtual machine... and give me the link to the setup_console.bin so I can check it and perhaps rewrite it for you. Quote Link to comment Share on other sites More sharing options...
mystified Posted May 8, 2007 Author Report Share Posted May 8, 2007 Well hopefully I won't have to worry about it. The nut developer came back with a fix. I don't understand all of it yet so I had to ask some more questions but he told me they would provide support until I get it working. Fingers crossed! Edit: I just saw that last part. I did set up my vm according to the Gentoo doc you linked too. And I really appreciate the offer. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 8, 2007 Report Share Posted May 8, 2007 I haven't done mine yet. I'm still meant to get the belkin software installed, but I don't want to do it remotely in case it borks the server. Then I've got to get a plane to the UK to fix it! But I will do it, probably sometime in July/August. I've never had to add java to the path, because it's always put links in /usr/bin or whatever when I've installed them. Even on Solaris. If you type: java -version what do you get? Quote Link to comment Share on other sites More sharing options...
mystified Posted May 8, 2007 Author Report Share Posted May 8, 2007 mystified@localhost ~ $ java -version java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode) Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 8, 2007 Report Share Posted May 8, 2007 Going by my Lotus Notes 7 install, which is java-based: com/zerog/lax/LAX this is what you're getting from the error in running the bin file. I would be tempted to do this: updatedb slocate com/zerog/lax/LAX and if no results come back, then this doesn't exist on your system. If it does, then whatever the directory is: export CLASSPATH=/wherever/to/com/zerog/lax/LAX however, you might need to just have the path to the main directory where com/zerog/lax/LAX exists, and not append this to the line like I have. I've not tried this, but this is where I would start. Either that, or the package you've downloaded doesn't have it within it. As normally, it should download and install and run fine. But I haven't looked to find out what the requirements are in the documentation for it. Quote Link to comment Share on other sites More sharing options...
mystified Posted May 8, 2007 Author Report Share Posted May 8, 2007 One of the first things I did was updatedb and try and locate zerog and I get no results. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted May 8, 2007 Report Share Posted May 8, 2007 I've just been checking what I've downloaded, and I've downloaded something different and not the binary file. Maybe this will work better for you. All it asks to get it installed from this is to run: ./install so I think maybe this is a better one to use than the one you're using. Mine is v3.01.18 from what I've got here, and I downloaded the tar file. Of course, make sure this will work with your UPS. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.