Skip to content

Tag: java

Running Java from terminal : cannot find text files

I am using Java in Eclipse for file manipulation like editing, searching, etc. For instance I have two text files. One is “sales.txt” and the other is “employees.txt”. The user is supposed to input a beginning date and ending date as arguments. Then the program finds the dates that mat…

Jar doesn’t execute on linux

I exported an executable Jar file from Eclipse. On Windows when I double-click the file, it executes properly. When I run it from command line with java -jar MyJar.jar it also works. But when I upload that file on my linux VPS and try to run it there, I just get the error Error: Could not find or load main

Websphere jdk upgrade

I have installed ibm jdk(1.8) in my linux system. I have installed WebSphere ND 8.5.5.7 in the same system. Now I want the WebSphere jdk to be upgraded to 1.8. For that I need to run managesdk command. So , I checked this link https://www-01.ibm.com/support/knowledgecenter/SSWSR9_11.5.0/com.ibm.swg.im.mdmhs.r…