[Assist] openJDK issue

Scott sradms0 at openmailbox.org
Fri May 6 17:58:22 BST 2016


Thanks a lot, Franco.
-Scott
On 06/05/16 11:39, Franco Masotti wrote:
> I think you have my same problem. Try to add an alias with the
> following:
> ```
> $ printf "alias java='java -cp .'\n" >> ~/.bashrc
> ```
>
> Without that if I do:
> ```
> $ java TestClass
> ```
> I get:
> ```
> Error: Could not find or load main class TestClass
> ```
>
> On Fri, May 06, 2016 at 10:33:12AM -0400, Scott wrote:
>> Hello Parabola team.
>> I have been trying to troubleshoot a java related issue after compiling.
>> I have jdk8/jre8 both installed.
>> ANY compiled code does not work when run.
>> For example, a file called 'Test.java' will be compiled by: 'javac
>> Test.java', then the class will appear: 'Test.class'
>> I will then run the class: 'java Test' and get feedback via command line:
>> 'Error: could not find or load class Test'
>>
>> This has been the case for many simple java programs.
>> I have switched between jdk8 and jdk7, with parabola-java, to see if any
>> difference would occur, but none.
>>
>> I would really appreciate your help.
>> Thank you.
>> -Scott
>> _______________________________________________
>> Assist mailing list
>> Assist at lists.parabola.nu
>> https://lists.parabola.nu/mailman/listinfo/assist
>


More information about the Assist mailing list